Skip to main content
POST
Create an API token

Authorizations

Authorization
string
header
required

Send your API token as Authorization: Bearer <api-token>. Tokens expire (30 days by default) and stop working when you change or reset your password.

Query Parameters

expiresIn
enum<string>
default:30d

How long the issued token stays valid.

Available options:
1h,
1d,
7d,
30d,
180d,
1y

Response

The token was created.

api_token
string

API token to send as Authorization: Bearer <api-token>.