The Humic API uses API keys to authenticate requests. Each API key is scoped to a single design system.Documentation Index
Fetch the complete documentation index at: https://docs.humic.dev/llms.txt
Use this file to discover all available pages before exploring further.
Creating an API key
- Open your design system in the Humic dashboard
- Go to Settings → API Keys
- Click Create API Key and give it a name
sk_live_.... Store it securely — you won’t be able to see it again.
Using the API key
Pass your key in theAuthorization header:
/api/v1/tokens, /api/v1/primitives, /api/v1/project, and /api/v1/export/* use this authentication method.
CLI tokens
The CLI uses a separate authentication method. When you runhumic login, a CLI token is created and stored locally at ~/.config/humic/credentials. CLI tokens expire after 90 days.
For CI environments, you can authenticate with a token directly:
Error responses
| Status | Meaning |
|---|---|
401 | Missing or invalid API key |
403 | Valid key but insufficient permissions |
429 | Rate limit exceeded |

