Skip to main content
POST
Issue an API key of the tenant

Authorizations

Authorization
string
header
required

Send your Cufea partner key as Authorization: Bearer cufea_partner_.... Only the /v1/partner routes accept it.

Path Parameters

tenant_id
string<uuid>
required

Body

application/json
stage
enum<string>
required

The stage the key drives. production needs a promoted tenant (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