Generate API token
POST/api/v2/token
Returns a JWT token for API access. Requires client_id and client_secret in the request body.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Token generated
Bad request. Possible errorCode values for this endpoint:
INVALID_PARAMETER(116) —client_idorclient_secretis missing or empty.
Authentication failed. Possible errorCode values for this endpoint:
INVALID_API_CREDENTIALS(97) —client_id/client_secretpair is invalid or has been revoked.
Caller is authenticated but not allowed to mint tokens. Possible errorCode values for this endpoint:
DISALLOWED_OPERATION(88) — operation not permitted for this caller regardless of series (account/role-level gating); fires when the account is not permitted to use API token authentication.
An internal server error occurred while processing the request.
Possible errorCode values include IO_FAILURE (128) and other internal failures.