# Leaked Rootly API Key? Revoke It Before Incidents

> Rootly API key pasted into a script or repo? Revoke it through the API keys settings, check incident access and rotate. Step-by-step guide.

Source: https://leakwatch.net/secrets/rootly-api-key

---

[LeakWatch](/)

[Product](/product)[Live feed](/leaks)[Guides](/secrets)[Blog](/blog)[Free scan](/)

1.  [Home](/)
2.  [Secrets](/secrets)
3.  Rootly API Key

Cloud · Secret guide

# Leaked Rootly API Key: what to do in the first hour

High severityDetected onlyLast verified November 5, 2026 · 5 min read

A Rootly API key gives a program access to Rootly, the incident management platform. Through the API, a key can read and change incidents, on-call schedules, status updates and post-incident reviews. Those records often describe your infrastructure in detail, including service names, failure modes and the people who respond to them, which makes them useful to an attacker even when no money is involved. A key can also change the on-call setup, so a leak can affect how quickly your team hears about the next outage. Revoke the key first, then review what changed.

[Check your GitHub account for leaked secrets — free](/)

Provider

Rootly

Severity

High

Impact

SaaS account access and billing

Checked live by LeakWatch

No

## What a Rootly API key looks like

Rootly keys begin with the word `rootly_`, followed by a long run of lower-case hexadecimal characters, which makes them easy to spot in a search. The key is created in the organization settings and is shown once, when it is generated:

```text
rootly_…   (API key, masked)
```

Rootly also states that every key has an expiry date, and that names must be unique within the kind of key and its scope. An expiry date is a useful safety measure, but it does not replace revocation, because a key remains valid until its date passes or until it is deleted. Keys that serve a team or the whole organization are linked to a service account, so deleting them also removes that account.

## How Rootly API keys get leaked

-   **Automation scripts.** A script that opens or updates incidents, with the key typed into the source code and then committed.
-   **Chat integrations.** A bot configuration exported from a chat tool, where the key is stored in plain text in a file that is shared.
-   **Shared examples.** A snippet pasted into a ticket, a wiki or a post-incident document to show how to call the API.
-   **CI logs.** A deployment step that announces a release or an incident, printing its request and headers.
-   **Dotfiles and backups.** A home folder or a configuration backup that holds a file with the key inside.

## What to do in the first hour

1.  **Revoke the key.** Open the Rootly organization settings, go to the API keys section, find the key and delete it. Rootly describes revocation as immediate and irreversible. Do this before you clean the repository, and note that deleting a team or organization key also deletes its linked service account, so check which integrations depend on it first.
2.  **Create a replacement** under the narrowest scope your integration needs, and store it in a secret manager or an environment variable. Update the integration and confirm it can still open a test incident or read one.
3.  **Review the incidents.** Look at the incidents, status updates and post-incident notes created or changed since the key may have been exposed. Look for entries you did not write and for changes to severity or assignees.
4.  **Check the on-call schedules and alerts.** Review the schedules, escalation paths and notification rules. An attacker who changes who gets paged can hide an outage, so this step matters.
5.  **Check the other secrets** in the same file. Incident tooling is usually connected to chat, monitoring and paging services, so rotate any keys stored next to the Rootly key.
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](/blog/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 Rootly

Open the account settings for your Rootly organization and go to the API keys area, which sits under the organization settings. Delete the leaked key there and create a new one. Rootly’s API reference also documents a delete request for an API key by its identifier, which suits a rotation run from a script. The API reference is on [docs.rootly.com](https://docs.rootly.com/api-reference/api-keys/revoke-an-api-key), and it states that revocation takes effect immediately. We did not confirm the current dashboard labels during this review, so check the menu when you act.

## How LeakWatch detects it

The rule is called Rootly API Key. It looks for the fixed `rootly_` prefix followed by exactly 64 lower-case hexadecimal characters, then a delimiter such as a quote, a space, a semicolon, an escaped line break or the end of the line. A value with a shorter body, such as an identifier in a log, is not reported. The severity is **high**, with the impact class for SaaS services. **This type is not checked live**: LeakWatch does not send the key to Rootly.

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

Will revoking the key stop my incident alerts?

Only if the alerts depend on that key. Alerts that go through a Rootly integration with its own credential keep working. Check which integrations use the key before you delete it, and move them to the replacement first where you can.

Can a key expire on its own?

Rootly sets an expiry date on keys, but a key remains valid until that date. Do not wait for the expiry if the key has leaked, because the window can be long. Delete it now.

What should I look for in the incident history?

Look for incidents you did not open, status updates that do not match what your team posted, and changes to on-call schedules. Anything that hides or delays an alert needs a close look.

## Related

-   [PagerDuty API Key](/secrets/pagerduty-api-key)
-   [Opsgenie API Key](/secrets/opsgenie-api-key)
-   [Sentry Access Token](/secrets/sentry-access-token)
-   [I accidentally pushed an API key to GitHub](/blog/i-accidentally-pushed-an-api-key-to-github)
-   [Which vendors leak most this week](/leaks/trends)
-   [All secret guides](/secrets)

[Get alerted next time a secret leaks — create a free account](/)

LeakWatch is not affiliated with Rootly.

![Gabriel Diyan, founder of LeakWatch](/brand/Photo-Gabriel-Diyan.webp)

Gabriel Diyan (0xCr0c0)

Cybersecurity student, founder of LeakWatch. I built and run the scanner described here — the detection patterns, the false-positive classifier and the provider validators are mine. [More about who I am](/about).

[GitHub](https://github.com/Leakwatch-Scan) · [X](https://x.com/LeakwatchScan) · [LinkedIn](https://www.linkedin.com/in/gabriel-diyan-80a378375) · [GitHub (personal)](https://github.com/crocogab)

LeakWatch

Secrets leak into public commits every minute. This watches the forges for yours. Built and run by [Gabriel Diyan](/about), a cybersecurity student — [why LeakWatch exists](/about).

Scan

-   [Product](/product)
-   [Live feed](/leaks)
-   [Trends](/leaks/trends)
-   [API docs](/docs)
-   [CI/CD](/docs?tab=ci)

Read

-   [Blog](/blog)
-   [Secret guides](/secrets)
-   [Changelog](/changelog)
-   [About](/about)

Verify

-   [Security](/security)
-   [Privacy](/privacy)
-   [Terms](/terms)
-   [Legal](/legal)
-   [Contact](/contact)
-   [Status](https://status.leakwatch.net)

© 2026 LeakWatch

[GitHub](https://github.com/Leakwatch-Scan)[X](https://x.com/LeakwatchScan)
