HTTP 401Authentication required

authentication_required

The request reached a /v1 endpoint without any usable credential — no Authorization header, no x-api-key header, or a token that isn't shaped like a Postify API key.

This page is where the problem type URI https://usepostify.com/docs/api/problems/authentication-required resolves.

Common causes

  • The Authorization header was omitted, or lost by a proxy that strips it.
  • The header is malformed — e.g. missing the Bearer prefix.
  • You sent a session cookie; /v1 accepts API keys only.

How to fix

  • Send `Authorization: Bearer postify_live_…` or `x-api-key: postify_live_…` on every request.
  • Mint a key in Settings → API keys (org owners and admins only).
  • If a proxy sits in front of your client, confirm it forwards the Authorization header.

Example response

401 · application/problem+json
{
  "type": "https://usepostify.com/docs/api/problems/authentication-required",
  "title": "Authentication required",
  "status": 401,
  "code": "authentication_required",
  "detail": "No API key was provided.",
  "request_id": "req_6f1f8a2b40d34cd2a6f1e2c9b8d7a601"
}