# authentication_required — Postify API error

HTTP 401 · Authentication required

This page is the resolution of the problem `type` URI `https://usepostify.com/docs/api/problems/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.

## 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

```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"
}
```

## Related

- [Authentication docs](https://usepostify.com/docs/api#authentication)
- [Mint an API key](https://app.usepostify.com/settings/api-keys)
