API keys
All API requests are authenticated using Bearer tokens. Include your API key in the Authorization header:
curl https://api.chicklet.io/v1/chicklets \
-H "Authorization: Bearer YOUR_API_KEY"
Obtaining an API key
You can generate an API key from the CLI:
Or from your account dashboard.
Security
Treat your API key like a password. Do not commit it to version control or share it publicly.
- Store API keys in environment variables
- Rotate keys periodically
- Revoke compromised keys immediately:
chicklet api-key revoke <key-id>