Create API key

Creates an API key for the workspace associated with the Management API key. Maximum number of API keys in defined by your plan limits. If you need additional API keys, contact our support team.

Body Params
string
required

Type of an API key.

string
required
length between 3 and 255

Name of an API key.

string
length between 3 and 255

Description for an API key.

string

Environment in which to create an API key. If omitted, API key will be created in the default environment.

Headers
string
required

Management API version.

Responses

Response body
object
data
object
required
string
required

Auto-generated ID for an API key

string
required

API key name

string

API key description

string
required

API key status, indicates if an API keys is enabled or disabled.

enabled disabled

string
required

ID of an environment the API key belongs to.

string
required

Type of an API key.

public secret proxy

string

Value of an API key. This field is immutable, and for secret keys it's only visible upon creation.

number
required

Current limit in requests-per-second for the API key.

date-time
required

Date when API key was created.

date-time

Date when API key was disabled.

Language
Credentials