Skip to main content
POST
Create API Key
Creates a new API key for the authenticated organization. The secret is returned ONCE and cannot be retrieved again. Store it securely.

Parameters

string
required
Human-readable name for the key
array
Permission scopes (e.g., attestations:mint). Defaults to wildcard.

Responses

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Body

application/json
name
string
required

Human-readable name for the key

scopes
string[]

Permission scopes (default is wildcard)

Response

201 - application/json

API key created

id
string<uuid>
name
string
secret
string

Full API key (shown once)