My key works with curl but not in my app. Why?
- Account ID header missing →
401 missing_account_id. - Environment variable not loaded where the app runs.
- Whitespace or quotes pasted into the secret.
- Different key or account in the app's config →
account_mismatch. - Wrong base URL: Model API
https://api.gateway.clatterlabs.xyz/v1, Agent APIhttps://api.agent.clatterlabs.xyz.
Log the HTTP status and code (never the key).
Good to know#
- A private window rules out extensions and old cached data.
- Every API request sends your key and your Account ID (
X-Clatter-Account: CL-…); a key alone is refused. - A new key's secret is shown only once. Clatter Labs stores only a hash, so a lost key can't be recovered.
Learn more#
Still need help?#
- General support: support@clatterlabs.com or team@clatterlabs.xyz
- Infrastructure questions, or permanent deletion of your data (your whole account or one service): infrastructure@clatterlabs.xyz
We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Related articles
Still need help?
Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyzFor deleting your whole account or the data of one service.