Humanbased Docs

Authentication

How to authenticate with the Humanbased API.

API Key Auth

All consumer API endpoints require an API key in the Authorization header:

Authorization: Bearer hb_live_sk_your_key_here

Key format

Keys start with hb_live_sk_ followed by 32 URL-safe characters.

Key management

API keys are created manually from the dashboard — no keys are auto-generated during signup.

ActionHow
CreateDashboard → API Keys → + Create API Key
RevokeInstant — all requests with that key fail immediately
Expiry7d, 30d, 90d, 1y, or never
ScopeEach key is scoped to specific subscriptions
Multiple keysSeparate keys for prod, staging, CI/CD

Verify your key

curl -X POST https://api.humanbased.ai/v1/auth/verify-key \
  -H "Authorization: Bearer hb_live_sk_your_key"

Response:

{
  "org_id": "abc-123",
  "key_id": "key-456",
  "key_name": "Production"
}

On this page