Create token

Create a new authentication token for the authenticated account with custom name and expiration duration.

Authentication

Authorizationstring
API Key authentication via header

Request

Token creation request
expiry_durationintegerRequired

Duration in seconds from now until expiration (1 min to 1 year).

namestringRequired

User-friendly name for the JWT token.

token_typestringRequired
Type of token to create.

Response

Token created successfully
api_tokenobject
The token metadata
tokenstring
The generated JWT token

Errors

400
Bad Request Error
401
Unauthorized Error