How can AEOTrack help you?

November 24, 2026

Create, rotate and revoke API keys

Who manages keys

Owners and admins of the account manage keys under Developers → API keys. A key belongs to the company, not to one person.

You can create a key for an environment once access for that environment is Active. A Production key also needs the API terms accepted. See Get Sandbox and Production API access.

The second sign-in factor

Four key actions ask you to confirm that it is you: creating a key, changing one, rotating one and revealing one. You confirm with the six-digit code from an authenticator app on your phone.

  • You set the authenticator up once, under Settings → Security. It takes a few minutes. If you have not done it yet, the app opens the set-up the first time you try one of these actions.
  • A confirmed code counts for 10 minutes in that browser, so you are not asked again for each change.
  • It belongs to your own sign-in. Every owner or admin who manages keys sets up their own.
  • Revoking a key never asks for it, so a key can always be stopped quickly.

See Second sign-in factor for API keys.

Create a key

  1. Open Developers → API keys.
  2. Choose Sandbox or Production.
  3. Give the key a name that says what will use it, such as weekly report script or client portal. A name can be up to 80 characters.
  4. Under What this key may call, choose Every API this account has or Only these. See "What a key may call" below.
  5. If you want, set an expiry and an IP allow-list. Both are explained below.
  6. Choose Create key and confirm with the code from your authenticator app.
  7. Copy the key and store it somewhere safe.

Sandbox keys start with aeo_sandbox_. Production keys start with aeo_live_. You can have up to five active keys in each environment. To add another after that, revoke one first.

The key is shown once

The full key is shown once, when it is created. After that, the list shows only how the key starts, with when it was created and when it was last used.

If you lose a key, rotate it, or revoke it and create another.

Expiry and IP allow-list

Both are optional, and both can be changed later.

  • Expiry. A key with an expiry stops working when that date passes. You are emailed about a week before, so you can give the key a later date or rotate it.
  • IP allow-list. The addresses that may use the key: single IP addresses or CIDR ranges, up to 50. A call from any other address is refused with ip_not_allowed. With no list, the key works from any address.

To change either one, or the key's name, choose Edit on the key and confirm with the code from your authenticator app.

What a key may call

Each key has its own permissions. You choose them when you create the key, and you can change them later with Edit.

ChoiceWhat the key may call
Every API this account hasEvery API that is enabled for your account in the key's environment. This is how a key starts if you change nothing
Only theseOnly the APIs you tick. Tick at least one

What to know:

  • A key never gets more than your account has. Your account's own access is still checked on every call.
  • A call to an API the key is not limited to is refused with a 403 and the code key_not_permitted. When the account itself does not have the API, the code is api_not_permitted.
  • You can tick an API your account does not have yet. The key gets it once the account does.
  • GET /api/v1/account and GET /api/v1/engines answer any working key, whatever its list.
  • GET /api/v1/account shows the key's list as key.apis. For a key with no limit of its own, it is null.
  • The key list under Developers → API keys shows what each key may call: Every API, or the number of APIs.
  • A rotated key keeps its list.
  • The MCP server is held to the same list.
  • The AEOTrack team can see a key's list and cannot change it.

Give each system a key that can call only what that system needs. A reporting script that reads scores does not need the AI answer check, which is paid from your API balance.

Rotate a key

Rotating gives you a new key in place of an old one. The old key can keep working while you switch.

  1. Open Developers → API keys and rotate the key.
  2. Choose how long the old key keeps working. It can stop now, or after 24 hours, 72 hours or 7 days.
  3. Choose Rotate key and confirm with the code from your authenticator app.
  4. Copy the new key. Like every key, it is shown once.
  5. Put the new key in your system before the old one stops.

What else to know:

  • The new key keeps the old key's name, environment, permissions and IP allow-list. If the old key had an expiry, the new key gets the same length of time again.
  • Everyone who manages keys is emailed that a key was rotated and when the old key stops. The email never contains the key.
  • You can rotate up to five times in 24 hours.

A key the AEOTrack team rotated

The AEOTrack team can rotate a key for you. When it does:

  1. Everyone who manages keys is emailed.
  2. The new key waits under Developers → API keys.
  3. An owner or admin reveals it there, once, within 7 days.

Revealing it asks for the code from your authenticator app, like creating a key.

After 7 days, a key that nobody revealed can no longer be shown. Rotate it yourself to get a new key you can see.

The AEOTrack team never sees your key and never asks for it. If anyone asks you to send a key, do not send it.

Revoke a key

Revoking stops a key at once. The next call made with it is refused with a 401. A revoked key cannot be switched back on. Revoked keys stay in the list, so their names and last use remain visible.

Revoking never asks for the second sign-in factor.

Some keys are revoked for you:

  • Keys created by a team member are revoked when that member is removed from the team or loses the admin role.
  • When access for an environment ends or is turned off, that environment's keys stop working.

When access ends

Access is set for each environment. When Sandbox or Production access ends or is turned off, every key of that environment stops working, and keys of the other environment carry on. If access is switched on again, create new keys. See Get Sandbox and Production API access.

Tell your own systems

Three webhook events are about keys: key.rotated, key.expiring and key.revoked. They carry how the key starts and the dates, never the key. See Webhooks for API events.

Good practice

  • Give each system its own key, so you can revoke one without touching the others.
  • Limit each key to the APIs its system needs.
  • Keep keys in a secrets store. Never put one in code, a URL, a shared sheet, an email or a chat with an AI assistant.
  • Build and test with a Sandbox key.
  • Add an IP allow-list to keys used from servers with fixed addresses.
  • Rotate a key when someone who had it leaves, and whenever you think it may have been seen.
  • Revoke keys you no longer use. The list shows when each key was last used.