Skip to main content
POST
/
v1
/
organization
/
app-keys
cURL
curl --request POST \
  --url https://9dc2c77e6dbf.ngrok-free.app/v1/organization/app-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "My App Key",
  "appId": "b1ffcd11-1d1c-5fg9-cc7e-7cc0ce491b22"
}'
{
  "id": "a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11",
  "key": "sk_live_app_1234567890abcdef",
  "name": "My App Key",
  "appId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "createdAt": "2021-08-01T00:00:00Z",
  "updatedAt": "2021-08-01T00:00:00Z"
}

Authorizations

Authorization
string
header
required

Admin API key (format: sk_admin_*) for organization-level operations

Body

application/json
name
string
required

Human-readable name for the app key

Minimum length: 1
Example:

"My App Key"

appId
string<uuid>
required

UUID of the app this key belongs to

Example:

"b1ffcd11-1d1c-5fg9-cc7e-7cc0ce491b22"

Response

Create a new app key

id
string<uuid>
required

App key UUID

Example:

"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"

key
string
required

The app key (only shown once on creation)

Example:

"sk_live_app_1234567890abcdef"

name
string
required

Human-readable name

Example:

"My App Key"

appId
string<uuid>
required
createdAt
string<date-time>
required

When the key was created

Example:

"2021-08-01T00:00:00Z"

updatedAt
string<date-time>
required

When the key was last updated

Example:

"2021-08-01T00:00:00Z"

I