Skip to main content
POST
Mint an API key (shown once)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Internal-Auth
string | null

Path Parameters

partner_id
string
required

Body

application/json
mode
enum<string>
default:live
Available options:
live,
test
label
string | null

Response

Successful Response

Returned ONCE at mint/rotate — the key + signing secret are never re-readable.

key_id
string
required
partner_id
string
required
mode
enum<string>
required
Available options:
live,
test
api_key
string
required
signing_secret
string
required
key_prefix
string
required
created_at
string<date-time>
required