Skip to main content

Create API Key

POST 

/api_keys/generate_api_key

Generate (create) a new API key.

Required abilities

In order to create an API key for yourself, you must have the API Key - Generate ability. To create an API key for another user, you must have the API Keys - Manage ability.

This is true even if you have the Authority - Administrator ability.

Important: there is a system setting that controls whether API Keys can be used at all; this can be found in the System Settings > Security section.

The use of API Keys is described in more detail in the Authentication#API Keys section.

Request

Responses

The API key was successfully created.