Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

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

Body

application/json

API key details to be created

isPublic
enum<boolean>
required

Whether the API key is public.

Available options:
true
name
string
required

Name of the API key.

allowedOrigins
string[]

List of allowed origins (only required if isPublic is false).

Response

200 - application/json

API Key created successfully

_id
string
teamId
string
name
string
key
string
createdAt
string<date-time>
expiresAt
string<date-time>
uuid
string
isPublic
boolean