Skip to main content
POST
/
api
/
users
/
api-keys
Create API Key
curl --request POST \
  --url https://api.usehavoc.com/api/users/api-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'

Authorizations

Authorization
string
header
required

Clerk JWT Token — obtained from the Havoc frontend via Clerk authentication.

Body

application/json
name
string
required

A label for the API key

Response

201

API key created. The key is returned once and cannot be retrieved again.