v1
latestOpenAPI 3.1.02026-08-0450121252.8 KBAuthentication
Auth Token
Obtain OAuth 2.0 access token. This endpoint follows the OAuth 2.0 industry-standard protocol for authorization. It performs authorization and returns the access token and refresh token.
To use, pass the grant_type in the form data, which will be:
- client_credentials grant type to authenticate with client_id and client_secret.
- refresh_token grant type to refresh an existing token.
If using client_credentials grant type, please use HTTP Basic Auth to pass the credentials (with the username being the client_id and the password being the client_secret).
The client_id and client_secret can be passed in the form data, but this is deprecated and not recommended.
Possible Codes in Error Response (see Errors for error response schema and meaning of codes):
- AUTHENTICATION_ERROR
- REQUEST_VALIDATION_ERROR
- SERVER_ERROR
post/v1/oauth2/token
Response
Successful Response