Skip to main content
POST
Create a new API key

Authorizations

Authorization
string
header
required

Enter Auth0 JWT token

Body

application/json
name
string
required

Name for the API key

Example:

"Production Integration"

access
enum<string>
default:write

Access mode: 'read' mints a read-only key (read:* scopes only); 'write' (default) grants the full scope set your workspace role can assign. Scopes are fixed at creation.

Available options:
read,
write
description
string

Description of what this API key will be used for

Example:

"API key for production payment processing"

Response

API key created successfully

audience
string
required

API audience/identifier

Example:

"https://api.zuba.com"

clientId
string
required

Auth0 client ID (use this as the API key)

Example:

"abc123xyz456"

clientSecret
string
required

Client secret (only shown once during creation)

Example:

"secret_key_here"

createdAt
string
required

Creation timestamp

domain
string
required

Auth0 domain for token endpoint

Example:

"your-tenant.auth0.com"

name
string
required

Name of the API key

Example:

"Production Integration"

description
string

Description