Skip to main content

API keys

Create a dashboard API key in Settings → API keys when a script or integration should call /api/v1.

A dashboard API key is a different credential from an MCP grant and from the CLI bearer token. API keys are not the MCP grant or the CLI bearer token.

Before you start​

  • You are signed in as the agency owner or an admin.
  • Creating a key requires the Agency plan (api_access). Starter and Growth cannot create a key.
  • An existing key can still be revoked on a lower tier. Listing and revoking stay available after a downgrade.
  • An agency can keep up to 10 active keys.

Create a key​

  1. Open Settings → API keys.
  2. Enter a name. The name is for your records only.
  3. Click Create key.
  4. Copy the secret immediately. It starts with ah_live_ and is shown once. Later visits list the name and prefix only.

On Starter and Growth, the page shows an upgrade link instead of the create form. You can still revoke a key that already exists.

Call /api/v1​

Send the secret on /api/v1:

Authorization: Bearer ah_live_...

The route list and schemas are served by the API host at /docs/api-reference. Open that path on the API host:

https://api.authhub.co/docs/api-reference

Reading the reference does not require a key. This help center does not include a copy of that OpenAPI document.

Revoke a key​

  1. Open Settings → API keys.
  2. Find the key under Existing keys.
  3. Click Revoke.

Revoke works on Agency, and on a lower tier that can no longer create keys. Existing keys on Starter or Growth stop working until you move to Agency, then work again.

Keep the three credentials apart​

CredentialWhere you get itWhere it is used
Dashboard API keySettings → API keys/api/v1
MCP grantSettings → AgentsThe MCP endpoint
CLI bearer tokenauthhub loginThe AuthHub CLI

See Connect an Agent to AuthHub and Use the AuthHub CLI.

Need help?​

Questions about API keys? Email support@authhub.co.