POST
/
user
/
keys

To learn how to use the token of an API key to authenticate your API requests, read the bearer tokens page.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
handle
string
required

The handle of the new API key. Must be unique.

Required string length: 1 - 50
alias
string | null

The alias of the new API key.

Required string length: 1 - 100

Response

201 - application/json
alias
string | null
required

The alias of the API key.

createdAt
string
required

The date and time when the API key was created.

handle
string
required

The handle of the API key. Is unique.

id
string
required

The UUID of the API key. Is unique.

token
string
required

The Base64-encoded bearer token of the API key. Is unique.