MeyktAPI Documentation

Errors / invalid_api_key

invalid_api_key

HTTP 401 · Do not retry unchanged — fix the request first

The API key is missing, unknown, switched off or expired.

What happened

Every rejected key returns this single code. We deliberately do not distinguish between "unknown", "switched off" and "expired" — telling you which one applies would confirm that a key existed.

How to fix it

  • Send the key as Authorization: Bearer mk_live_... — a header, never a URL parameter.
  • Check in the dashboard under Integrations → API access whether the key is still active.
  • If it was switched off, create a new key. Switched-off keys never come back.

Retrying

Repeating the request unchanged will fail again. Correct the request first — the response tells you which part is wrong.

All error codes: /developers/errors · Machine-readable: llms-full.txt