Skip to main content
POST
Issue an API key

Authorizations

Authorization
string
header
required

Send your Cufea API key as Authorization: Bearer <key>.

Body

application/json

What key to issue.

stage
enum<string> | null

The stage the new key drives; default: the stage of the calling key. A production key needs a tenant the operator promoted (409 stage_closed).

Available options:
sandbox,
test,
production

Response

Successful Response

api_key
string
required

The full key. Shown ONCE, here: it cannot be retrieved again.

id
string<uuid>
required
prefix
string
required

Public lookup prefix, the part after cufea_sandbox_, cufea_test_ or cufea_prod_ (or the legacy cfa_test_).

revoked
boolean
required
stage
enum<string>
required

The one stage the key drives.

Available options:
sandbox,
test,
production
revoked_at
string<date-time> | null