Token Management

Refresh Access Token

Use refresh token to obtain a new access token.

post/rest/v2/auth/refresh-token.json

Request

Request body application/x-www-form-urlencoded

grant_type'refresh_token' required

OAuth2 grant type. Must be 'refresh_token'.

refresh_tokenstring required

Refresh token received from previous token exchange.

client_idstring required

OAuth2 client identifier.

client_secretstring required

OAuth2 client secret (base64 encoded).

scopestring

Requested scope (optional, defaults to original scope).

Response

Successful token refresh

access_tokenstring required

OAuth2 access token (JWT format)

token_type'Bearer' required

Token type for authorization header

expires_ininteger required

Access token lifetime in seconds

refresh_tokenstring

Refresh token for obtaining new access tokens

scopestring

Granted access scope

Example response

{
  "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...",
  "expires_in": 3600,
  "refresh_token": "def50200a1b2c3d4e5f6...",
  "scope": "rsu_api_read rsu_api_write"
}

Changes

No recorded changes to this operation across all 1 revision of this API.