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
headerrequired

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.

alias
string | null

The alias of the new API key.

Response

201 - application/json
id
string
required

The UUID of the API key. Is unique.

handle
string
required

The handle of the API key. Is unique.

alias
string | null
required

The alias of the API key.

token
string
required

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

createdAt
string
required

The date and time when the API key was created.