# Get access token using refresh token Exchange a refresh token for a new access token. Use this to refresh an expired or expiring access token without re-authenticating with username/password. Optional service parameter (e.g. Teams, Webex) determines which user pool to use. Endpoint: POST /auth/getaccesstoken Version: 1.0.0 Security: BearerAuth ## Request fields (application/json): - `username` (string, required) User email address - `refreshToken` (string, required) JWT refresh token previously obtained from login - `service` (string) Service identifier (optional, e.g. Teams or Webex). Defaults to Teams if not provided. Example: "Teams" ## Response 200 fields (application/json): - `username` (string) Example: "test@email.com" - `accessToken` (string) Example: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." - `refreshToken` (string) Example: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." - `expirationTimeInUTC` (string) Example: "2024-02-29T15:09:14.242875589" - `roles` (array) Example: ["CSP_BUSINESS"] - `tenantId` (string) Example: "Sabrhub" - `services` (array) Example: ["Teams"]