Create API Key
Last updated
Last updated
Create a new API key for use in authenticating API requests. To learn how to authenticate requests with API keys, see the .
POST
{API_URL}/api-keys
name
Required
string
The name of the API key
description
Optional
string
An optional description of the API key
dict
Returns the data
object, containing details of the new API key.
Each API key specifies the following properties:
id
: The ID of the API key.
key
: The API key value that is used to authenticate API requests.
name
: The name of the API key.
description
: An optional description of the API key.
string
Indicates the result of the request to create an API key. success
signifies success, while failed
indicates an error.
string
A description of the status of the request.
Important: The API key value key
is shown only once in the response body when creating an API key. It can't be viewed again for security reasons. The endpoint shows only the IDs + names of your API keys for deletion. If you lose your API key, create a new one and delete the old one.