Skip to main content
POST
Create Api Key
Create a new API key for a specific project. Requires project ownership.

Headers

string
required
Bearer token for authentication

Path Parameters

string
required
Unique project identifier

Body

string
API key name/description (optional)

Response

string
API key unique identifier
string
The actual API key (only shown once during creation)
string
API key name
string
Associated project ID
string
API key creation timestamp
The API key is only displayed once during creation. Store it securely as you won’t be able to retrieve it again.

Authorizations

Authorization
string
header
required

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

Path Parameters

project_id
string<uuid>
required

Body

application/json
name
string | null
Maximum string length: 255

Response

Successful Response

id
string<uuid>
required
name
string | null
required
key
string
required
key_prefix
string
required
is_active
boolean
required
created_at
string<date-time>
required