unauthorized
HTTP 401UnauthorizedIngest APIRead APIManagement API
What happened
No API key was presented, or the key is unknown, revoked, or belongs to a suspended account. The header must be Authorization: Bearer <key>.
How to fix it
Check the header name and the Bearer prefix, then confirm the key is still listed and not revoked under API keys. A key is shown once at creation — if it was lost, roll it rather than hunting for it.
What you received
{
"type": "https://docs.sidelineexchange.com/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "…"
}Worth understanding
- Secret key — sk_test_… / sk_live_… — full authority: push, read, manage webhooks. Server-side only, shown once at creation.
- Publishable key — pk_test_… / pk_live_… — read-only, public-tier, safe to ship inside a web page. What the calendar widget uses.
- Suspend — Switching an account off with a recorded reason: its keys stop working immediately and the reason is shown to its users.