Skip to main content
POST
Generate API Key

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string

Optional name for the API key

Example:

"My Server API Key"

Response

201 - application/json

API key generated successfully

key
string
Example:

"sk_1234567890abcdef..."

id
number
Example:

1