Skip to main content
POST
Create an account API key

Authorizations

Authorization
string
header
required

Send a dashboard session token, an account API key (agt_t), or a command-line credential (afc_) as a Bearer token. Each endpoint lists accepted credential types.

Body

application/json

Request to create an account API key.

key_name
string
required

What the key will be called. Unique per tenant.

description
string | null

Free text beside it, for whoever reads the list in six months.

Response

Created

The one response that reveals a key's plaintext.

created_at
string<date-time>
required

When it was minted.

id
string
required

The key's identifier, which every later call addresses it by.

key
string
required

The credential itself. Shown once and never stored in this shape.

key_name
string
required

What it is called.