api_key_required: API key required

Havoptic API error api_key_required (HTTP 401, API key required): The endpoint needs an API key and the request did not send one. What it means and how to fix it.

FieldValue
typehttps://www.havoptic.com/docs/errors/api_key_required
HTTP status401
titleAPI key required
Returned byapi.havoptic.com (webhooks)

What it means

Read endpoints work anonymously. Webhook management (/v1/webhooks) is tied to an owner, so it needs a key.

Common causes

How to fix it

Example response

{
  "type": "https://www.havoptic.com/docs/errors/api_key_required",
  "title": "API key required",
  "status": 401,
  "detail": "Webhooks need an API key: send Authorization: Bearer hv_live_… (create one at https://www.havoptic.com/api-keys)."
}

All errors

Developer docs · API reference · OpenAPI · Havoptic