Documentation

API key required

View as Markdown

API_KEY_REQUIRED401

What it means

The operation answers only to an API key, and none was sent.

What to do

Send the key as `Authorization: Bearer fent_sk_...`. A key is never accepted in a query string. Listing notices without a key is not answered with this code: it is refused with `LIST_NOT_PUBLIC`.

The response

{
  "type": "https://fentlig.se/developers/errors/api-key-required",
  "title": "API key required",
  "status": 401,
  "code": "API_KEY_REQUIRED"
}

detail and instance are added when there is something specific to that occurrence to say.