v1

latestOpenAPI 3.1.02026-07-132363652.9 MB
Auth

Refresh an existing access token

Refresh an existing access token

post/api/v1/oauth2/refresh

Request body

refresh_tokenstring required

The refresh token obtained from a previous token request

Example request

{
  "refresh_token": "refresh_token_abc123"
}

Response

Success

successboolean required

Indicates if the request was successful

Example response

{
  "success": true,
  "data": {
    "access_token": "example_access_token_xyz789",
    "refresh_token": "example_refresh_token_abc123",
    "token_type": "Bearer",
    "expires_in": 900
  }
}