Skip to main content
POST
/
org
/
{org_id}
/
api-keys
Create API key
curl --request POST \
  --url https://v2-nova-api.prod.czmx.in/org/{org_id}/api-keys \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "scopes": [
    "<string>"
  ],
  "expires_at": "<string>"
}
'
{
  "created_at": "<string>",
  "expires_at": "<string>",
  "id": "<string>",
  "key": "<string>",
  "name": "<string>",
  "scopes": [
    "<string>"
  ]
}

Path Parameters

org_id
string
required

Organization ID

Body

application/json

API key details

name
string
required
scopes
string[]
required
expires_at
string

Response

Created

created_at
string
expires_at
string
id
string
key
string

Only returned once on creation

name
string
scopes
string[]