NowgateDocs

authentication_required

The request has no API key.

On this page

HTTP status: 401 Unauthorized. Retrying the same request unchanged fails the same way.

Why it happens

  • The Authorization header is missing, or doesn't use the Bearer scheme.

What to do

Send Authorization: Bearer <your API key>.

Example

The response is application/problem+json. Branch on code, never on title or detail. See errors for the format.

{
  "type": "https://docs.nowgate.io/errors/authentication_required",
  "title": "Unauthorized",
  "status": 401,
  "detail": "What exactly was wrong, in a sentence.",
  "instance": "/v1/payments",
  "code": "authentication_required",
  "request_id": "req_01jc3xb1n6f0q2w8e4r7t5y9v3"
}