Skip to main content
POST
/
v1
/
api-keys
Create a new API key (full secret returned once)
curl --request POST \
  --url https://api.example.com/v1/api-keys \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{}'

Authorizations

X-API-Key
string
header
required

Body

application/json

The body is of type object.

Response

200

Created — secret carries the full key pk_<mode>_<id>.<secret> ONCE.