AtlasIQ API
What an AtlasIQ API key does today, how to send it, and what each answer means.
What a key does today
An API key lets your own systems identify your AtlasIQ account. Two read-only requests accept it, and both answer with the account's identity. Agents, modules and content generation run in the web app, where you are signed in.
Create a key
- Sign in, open Settings and choose API keys.
- Name the key and choose its permission. You can also set an expiry date and a limit of requests per minute: 60 unless you change it, anywhere from 1 to 10,000.
- Copy the key when it appears. It is shown once and AtlasIQ stores only a hash of it; if you lose it, regenerate it on the same page.
A key starts with atlasiq_live_ or atlasiq_test_, followed by 32 characters. The label is for your own bookkeeping: both kinds act on the same account and the same data.
Open API keysSend the key
Send the key in the X-API-Key header, over HTTPS, to https://atlasiq.app/api/v1. Keep it on your server: a key placed in a web page or a mobile app can be read by anyone who uses them.
curl https://atlasiq.app/api/v1/auth/me \
-H "X-API-Key: atlasiq_live_…"Requests that accept a key
GET https://atlasiq.app/api/v1/auth/me
Returns the account the key belongs to. The key needs the “Read profile” permission.
GET https://atlasiq.app/api/v1/auth/profile
Returns the same fields for any valid key. Called from a signed-in session in the web app, it returns the full profile.
Fields returned for a key
idemailsubscriptionPlanroleauthenticatedauthMethod
Answers
- 200
- The key is valid and the request is within its limits: the body carries the fields above.
- 401
- No key was sent, or the key is unknown, revoked or expired.
- 403
- The key is valid but the request breaks one of its restrictions: the address is not on the key's IP allow-list, or the key lacks the permission the request needs.
- 429
API_KEY_RATE_LIMITEDThe key has used up the per-minute limit its owner set for it. The Retry-After header gives the seconds to wait; the limit can be raised under Settings → API keys.- 429
RATE_LIMITEDAtlasIQ's own limit for this route was reached: it counts every request from one address, with any key or none, whatever the key's own limit. The Retry-After header gives the seconds to wait.
Not available with a key
Agents, modules, content generation, and the stores and ad accounts you connect cannot be reached with a key. They run in the web app with a signed-in session, under the access you granted each platform.
See the integrationsA question about a key
Write to support with the key's name and its last four characters, as Settings shows them, and the time of the request. Never send the whole key.