API keys
Create an API key
Create a new API key by providing its details.
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
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
handle
string
requiredThe 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
requiredThe UUID of the API key. Is unique.
handle
string
requiredThe handle of the API key. Is unique.
alias
string | null
requiredThe alias of the API key.
token
string
requiredThe Base64-encoded bearer token of the API key. Is unique.
createdAt
string
requiredThe date and time when the API key was created.