Skip to main content

API key

Every request to the TenantCore API must include your API key in the Authorization header:
Your key is available at app.tenantcore.io/api. Reveal it, copy it, and store it in a secure location — treat it exactly like a password.

Example request

Key format

All TenantCore API keys follow this format:
Keys that do not match this format will be rejected with 401 Unauthorized.

Plan scoping

Your API key is tied to your active API plan. Two things are enforced on every authenticated request:
  1. Plan check — if your API plan has lapsed or been cancelled, all requests return 402 Payment Required
  2. Tenant ceiling — write operations that would exceed your plan’s tenant limit return 402 Payment Required

Rotating your key

You can rotate your key at any time from the API page in the app. The old key is invalidated immediately — update all integrations before rotating. You can also rotate via the API itself (authenticated with your current key):

Error responses