Skip to main content
POST
/
v1
/
account
/
token
Create API token
curl --request POST \
  --url https://{base_url}/v1/account/token \
  --header 'Content-Type: application/json' \
  --data '
{
  "revoke_existing": false,
  "valid_until": "2050-09-22T12:56:40Z"
}
'
{
  "hashed_token": "<string>",
  "token_email": "<string>",
  "last_used_at": "<string>",
  "created_at": "<string>",
  "valid_until": "<string>",
  "name": "<string>",
  "token": "<string>"
}

Body

application/json

The details of the API token to create

name
string
revoke_existing
boolean
valid_until
string

Response

201 - application/json

The created API token

hashed_token
string
required
token_email
string
required
last_used_at
string
required
created_at
string
required
valid_until
string
required
name
string
token
string