Create access token
Exchanges your long-lived API key for a short-lived JWT (30 minutes
by default). Send the API key as Authorization: Bearer <api-key>;
use the returned JWT as Authorization: Bearer <jwt> on every other
endpoint.
Treat the API key like a password — keep it on a trusted backend and never ship it in a browser or mobile app.
Authentication
AuthorizationBearer
Your long-lived API key, sent as Authorization: Bearer <api-key>.
Only valid on POST /api/v1/access-token. Every other endpoint
requires a JWT.
Response
Access token created.
token
The access token. Send as Authorization: Bearer <token> on subsequent requests.
tokenType
Always Bearer.
Allowed values:
expiresIn
Number of seconds until the token expires.
expiresAt
Unix timestamp (milliseconds) when the token expires.
Errors
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error