Issue a token
POST /v1/auth/token does not require a bearer token — you don’t have one
yet. It does require x-zeam-auth: every request to the gateway needs it,
with no exception for token issuance.
string
required
Your application’s client ID.
string
required
Your application’s client secret.
cURL
Response
string
The bearer token. Send it as
Authorization: Bearer <accessToken>.string
Always
Bearer.integer
Seconds until the token expires.
string
The association bound to your application, resolved server-side from your
bearer token on every request afterward. Informational only — you never
send it anywhere.
Use a token
Send the token with your application secret on every protected request:cURL
Refresh a token
Tokens are short-lived and there is no refresh token. To refresh, callPOST /v1/auth/token again with your client credentials and use the new token.
Errors
The token endpoint can return:400, the request body is malformed.401, the client credentials are invalid.502, the request could not be completed. Safe to retry.