invalid_api_key

The API key is malformed, unknown, or does not belong to an active account.

One company record
Company record

Official register

Legal nameAcme Studio Ltd
Company number01234567
StatusActive

HTTP 401 · Invalid API key

Why it happens

The key was not found, or it was copied with missing characters, whitespace, or the wrong prefix.

How to fix it

Copy the full key from the dashboard again and send it in one header. A test key starts with ck_test_ and is never billed.

Example response

{
  "type": "https://corpoapi.com/errors/invalid_api_key",
  "title": "Invalid API key",
  "status": 401,
  "code": "invalid_api_key",
  "detail": "The API key is not recognised.",
  "request_id": "8f3c2a1e-5b7d-4c9a-9e2f-1a2b3c4d5e6f"
}

The error envelope is the same on every endpoint. Read the full error contract.

All API error codes

Related

Start free with Corpo API

Verify any company from official registers with one API.