Skip to main content
POST
/
api
/
chat-keys
Create an API key
curl --request POST \
  --url https://operator.io/api/chat-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "key": "<string>"
}

Authorizations

Authorization
string
header
required

API key (ck_live_...). Create one in Settings > API Keys.

Body

application/json
name
string

Optional label for the key.

Response

201 - application/json

Key created.

key
string

The full API key (ck_live_...). Store it securely.