Skip to main content
POST
Create an API key
Minimum role required: Admin

Authorizations

X-Axilio-Api-Key
string
header
required

Customer API key (axl_ prefix).

Body

application/json

Request body for creating a new API key.

name
string
required

Human-readable label for the API key.

Required string length: 1 - 100

Response

Created

Response returned when a new API key is created.

created_at
string<date-time>
required

Timestamp when the key was created.

id
string
required

API key identifier.

key_value
string
required

Full plaintext key, shown only on creation.

name
string
required

Human-readable label for the key.