Skip to main content
POST
/
api
/
v1
/
api_keys
Create API key (JWT only)
curl --request POST \
  --url https://api.callaro.ai/api/v1/api_keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "scopes": [
    "<string>"
  ]
}
'
{
  "data": {},
  "message": "<string>",
  "meta": {},
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
scopes
string[]

Optional explicit tenant API-key scopes. Omit to use defaults. Empty arrays are rejected.

Response

Created

data
object
message
string | null
meta
object
request_id
string | null