Authentication required (401)

The request didn't carry a valid credential.

Status: 401 Unauthorized · type: https://api.sparkle.ai/errors/unauthorized

When it happens

  • The X-API-Key header is missing.
  • The API key or personal access token doesn't exist, has expired or was revoked.
  • On a receiver URL: the token names no conversation (unauthorized.receiver_token), or a Recall.ai request's signature doesn't verify (unauthorized.receiver_signature).

How to fix it

Check that the credential is in the X-API-Key header and that it is still active under Settings > API keys in the dashboard. If it was revoked or has expired, create a new one. Sending the same request again without changing the credential gets the same error.

Example

{
  "type": "https://api.sparkle.ai/errors/unauthorized",
  "title": "Authentication Required",
  "status": 401,
  "detail": "Invalid API key",
  "instance": "/public/v1/webhooks",
  "code": "unauthorized.invalid_api_key",
  "request_id": "req_abc123",
  "timestamp": "2026-02-15T12:00:00Z",
  "documentation_url": "https://docs.sparkle.ai/docs/api/errors/unauthorized"
}

On this page