Skip to main content
POST
/
api
/
providers
Add Provider
curl --request POST \
  --url https://api.usehavoc.com/api/providers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "provider": "anthropic",
  "apiKey": "<string>"
}
'

Authorizations

Authorization
string
header
required

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

Body

application/json
provider
string
required
Example:

"anthropic"

apiKey
string
required

Response

201

Provider added