Skip to main content

Create Tokens

Create Access and Refresh tokens using the authorization code.

GET/api/v1/oauth/token/

Headers

NameValue
AuthorizationBearer Base64Encoded(Client ID:Client Secret)

Query Parameters

code
required
string

Access Code obtained via OAuth

{
  • "code": "string"
}

Response

{
"success": true,
"message": "Successfully generated access and refresh tokens",
"access_token": "ACCESS_TOKEN",
"refresh_token": "REFRESH_TOKEN",
"expires_in": 7200,
"token_type": "Bearer"
}