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_duration
Duration in seconds from now until expiration (1 min to 1 year).
name
User-friendly name for the JWT token.
token_type
Type of token to create.
allowed_cidrs
Optional IP CIDR allowlist applied atomically at creation, so the token is never live unrestricted. Empty/omitted = unrestricted. Max 50 entries; same format as PUT /account/tokens/:lookup_id/allowed-cidrs.
Response
Token created successfully
api_token
The token metadata
token
The generated JWT token
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error