Skip to content
Cloud · Secret guide

Leaked Apollo.io API Key: what to do in the first hour

Medium severityDetected onlyLast verified · 4 min read

An Apollo.io API key lets a program use Apollo, the sales intelligence and engagement platform, under your account. Depending on the key’s endpoints and your plan, it can search the contact database, enrich records, read and update contacts and sequences, and export data. The contact lists in a sales tool are valuable and often contain personal details of people outside your company, so a leaked key is a privacy issue as well as a cost issue. Delete the key first, then check what was exported or changed.

Check your GitHub account for leaked secrets — free

Provider
Apollo.io
Severity
Medium
Impact
SaaS account access and billing
Checked live by LeakWatch
No

What an Apollo.io API key looks like

Apollo keys are short random strings of letters and digits, about 22 characters in the form the rule expects, and they have no public prefix. The key is created under the integrations area of the account, and Apollo shows the full value once, when the key is created. In a file it is usually stored under a variable whose name contains apollo:

APOLLO_API_KEY=<22-character value, masked as XXXX…>

Keys can be created as scoped keys, which allow only the endpoints you choose, or as master keys with wider access. Apollo’s documentation advises using scoped keys where possible and treating master keys like a password. A short key with no name next to it is harder to recognize, so look for the word apollo near any value you suspect.

How Apollo.io keys get leaked

  • Enrichment scripts. A script that looks up contacts for a list, with the key typed into the source code and then committed.
  • Spreadsheet macros. A sheet or a script attached to a spreadsheet that calls the API, with the key written into the formula or the script, and then shared.
  • Automation tools. A workflow tool connection exported and shared between teams, with the key visible in the export.
  • Shared examples. A snippet pasted into a blog post, a forum or a support request with the real key left in place of the placeholder.
  • CI logs. A data job that prints its configuration when it fails.

What to do in the first hour

  1. Delete the key. Open the Apollo settings, go to the integrations area, open the API keys list, and delete the key that leaked. Apollo describes deletion as permanent. Do this before you clean the repository. If the key was a master key, check which teams depend on it before you delete it.
  2. Create a scoped replacement for each job that needs one. Limit its endpoints to what the job really calls, and store it in a secret manager or an environment variable.
  3. Review the exports. Look at the export and enrichment history for the period since the key may have been exposed. Large exports of contacts, repeated lookups of many people and activity at unusual hours are the signs to watch.
  4. Review the sequences and the contacts. Check for sequences, contact lists or tasks you did not create, and for changes to contact records.
  5. Check the people who can manage keys. Review who has the permission to create keys or to change integrations, and remove any access that is no longer needed.
  6. Clean the repository after the rotation: remove the value from the files, add the file to .gitignore and decide whether to rewrite history. The order of steps is in I accidentally pushed an API key to GitHub.

Not sure what else leaked? Run a free scan.

Not sure what else leaked? Run a free scan.

Revoke it at Apollo.io

Open the account settings in Apollo, go to Settings, then Integrations, then API keys. Select the leaked key and delete it, then create a replacement if the job still needs one. Apollo’s documentation for creating keys describes this path, and it notes that admins or users with the right permission profile can create keys. We did not confirm the current labels during this review. Some older Apollo pages describe a regenerate action, but the current guidance is to delete and create, so follow what the interface offers.

How LeakWatch detects it

The rule is called Apollo.io API Key. It looks for the word apollo followed, within about 40 characters, by a standalone run of exactly 22 letters or digits. The match can cross a line break, so a key on the next line of a configuration block is still reported. Values of other lengths, and the word on its own, are not matched. The severity is medium, with the impact class for SaaS services. This type is not checked live: LeakWatch does not send the key to Apollo.io.

LeakWatch detects this format but does not check it live: it can tell you the key is exposed, not whether it still works. Assume it does until you have revoked it.

FAQ

Can someone see my contacts with the key?

They can, if the key’s endpoints allow reading contacts. Check the export history and the endpoints the key had, and assume the contacts it could reach were exposed if the key was a master key.

Is a scoped key enough to stop the risk?

It limits the damage, but it does not remove the need to rotate a leaked key. Delete the leaked key first, and then use scoped keys for the replacements.

Do I need to inform the people in the contact list?

If the export contained personal data and the leak was confirmed, speak to your data protection contact. The obligations depend on where your contacts live and what was taken, so do not decide alone.

Get alerted next time a secret leaks — create a free account

LeakWatch is not affiliated with Apollo.io.