Skip to main content
POST
/
v1
/
api-keys
{
  "key_id": "<string>",
  "name": "<string>",
  "status": "<string>",
  "api_key": "<string>",
  "prefix": "<string>",
  "created_at": "<string>",
  "last_used_at": "<string>",
  "disabled_at": "<string>",
  "expires_at": "<string>",
  "rotated_from_key_id": "<string>",
  "rotated_at": "<string>"
}

Body

application/json
name
string
required

Display name for the API key.

Required string length: 1 - 120

Response

Created API key.

key_id
string
required
name
string
required
status
string
required
api_key
string | null
prefix
string | null
created_at
string | null
last_used_at
string | null
disabled_at
string | null
expires_at
string | null
rotated_from_key_id
string | null
rotated_at
string | null