Skip to main content
POST
Generate Access Token

Authorizations

x-api-key
string
header
required

Your API key for authentication. Use sandbox-with-json-responses as Sandbox key.

Body

application/json
expiry_minutes
integer
default:60

Token validity in minutes (max 60)

Required range: 1 <= x <= 60
Example:

60

Response

Access token generated successfully

access_token
string

The at_ prefixed access token

Example:

"at_eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

token_type
string

Always "api_key" - token is a drop-in replacement for x-api-key header

Example:

"api_key"

expires_in
integer

Token validity in seconds

Example:

3600