- An account identifier in the
X-Account-IDheader. - A short-lived Bearer token in the
Authorizationheader.
Authentication flow
Most integrations follow the same basic steps: obtain a token, then use it on subsequent requests.1
Request a Bearer token
Call the auth endpoint with your API key ID and secret:The response includes a token that is valid for 60 minutes. Treat this as sensitive and do not log or hard-code it.
2
Call APIs with the token
Include the token and your account ID on API requests:
3
Handle common errors
If a request fails with an authentication-related error, check for:
- Missing or incorrect
X-Account-ID. - Expired or malformed Bearer token.
- Using credentials from the wrong environment.