# Leaked ConvertKit API Secret? Replace It and Audit

> ConvertKit API secret exposed in a repo or form code? Replace it, review subscribers and broadcasts, then move writes to the server. Step-by-step guide.

Source: https://leakwatch.net/secrets/convertkit-api-secret

---

[LeakWatch](/)

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

1.  [Home](/)
2.  [Secrets](/secrets)
3.  ConvertKit API Secret

Messaging · Secret guide

# Leaked ConvertKit API Secret: what to do in the first hour

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

A ConvertKit API secret is the credential that lets a script or service change data in your email marketing account. ConvertKit, now branded Kit, is used to collect subscribers and send newsletters. The secret is needed for actions such as adding or tagging subscribers, and some operations on broadcasts and account information. A leaked secret can be used to add contacts, remove them, or send messages from your list, which harms your sender reputation and your subscriber trust. Replace the secret first, then review what changed on the account.

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

Provider

ConvertKit

Severity

Medium

Impact

SaaS account access and billing

Checked live by LeakWatch

No

## What a ConvertKit API Secret looks like

ConvertKit API secrets are a string of 22 letters, digits and underscores, with no visible prefix. The rule in LeakWatch looks for that shape and reports it only when the word `convertkit` appears within a short distance before it. A masked form of the layout:

```text
convertkit … XXXX…XXXX   secret shape near the vendor name (masked)
```

The secret is different from the public API key that some front-end forms use. A public key can be placed in a web page, while the secret must stay on a server. If your integration was set up with the older method, which pairs a key and a secret, the secret is the value that must be protected. Because the value has no prefix, the vendor name is what identifies it in a file, so check the surrounding text before you conclude it is or is not a ConvertKit secret.

## How ConvertKit API Secrets get leaked

-   **Form and sign-up code in front-end bundles.** A secret placed in a script that runs in the browser, which anyone can read.
-   **Automation repositories.** A script that imports subscribers from a spreadsheet or another tool, with the secret written into it.
-   **Environment files.** A `.env` file committed to a repository or copied into a project template.
-   **Plug-in and site configuration.** A settings export or a configuration file for a website plug-in that stores the secret in plain text.
-   **Support threads.** A secret pasted into a ticket or forum post when an import or a tag call failed.

## What to do in the first hour

1.  **Replace the secret.** Sign in to your Kit account and open the account settings for the developer or API section. Generate a new secret, deploy it to the integrations that use it, and then remove the old one.
2.  **Move writes to the server.** If a browser script calls the API with the secret, move that call to your own server, and keep only the public part of the integration in the page.
3.  **Review subscribers.** Look at new subscribers, removed subscribers and tag changes for the period since the exposure. Look for addresses you do not recognize.
4.  **Review broadcasts and sequences.** Check the emails that were scheduled or sent, and any automations or sequences that were added or changed.
5.  **Check your sender reputation.** Watch complaints and unsubscribes for the next few days. A sudden rise in either is a sign that the list was misused.
6.  **Check the rest of the file.** Revoke the other credentials stored with the secret, such as the keys of the website plug-in or the forms service.
7.  **Clean the repository.** Remove the value from current files, add the file to `.gitignore`, and rewrite history if the repository was public. See [I accidentally pushed an API key to GitHub](/blog/i-accidentally-pushed-an-api-key-to-github) for the full order.

Not sure what else leaked from the same repository? [Run a free scan](/).

[Not sure what else leaked? Run a free scan.](/)

## Revoke it at ConvertKit

Sources we reviewed place the API key and secret in the account settings, under a developer or advanced section, but they disagree on the exact path, and the interface may have changed since they were written. Look for a section for the API, check whether it shows the older key and secret or the newer method, and generate a new secret from there. We did not find a Kit-specific confirmation that the secret can be regenerated with a single control, so check the account for that option, and contact Kit support if you cannot find it. If an integration still uses the older key-and-secret method, Kit’s documentation says it is deprecated, so consider moving the integration to the newer method at the same time.

## How LeakWatch detects it

The rule is called “ConvertKit API Secret”. It looks for the word `convertkit`, followed within about 40 characters by a value of exactly 22 letters, digits or underscores, with word boundaries around the value. The match is not case-sensitive. The severity is **medium**, with the SaaS impact class, because the secret changes subscriber and broadcast data rather than payment or infrastructure. **This type is not checked live**: LeakWatch does not send the value to Kit, so a finding means a matching value sat near the name, not that the secret still works.

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

Is a public key the same as the secret?

No. A public key may be placed in a web page, while the secret must be kept on a server. If the integration exposes the secret in a page or a script, that is the first thing to fix.

Can a leaked secret read my subscriber list?

It depends on the endpoints the secret is allowed to use. Assume that anything the secret can change, it can also read, and review the account accordingly.

How often should I rotate it?

Rotate it when someone with access leaves, when a value is found somewhere it should not be, and on a schedule that fits your risk. Keep a note of which integration uses which secret so each rotation is quick.

## Related

-   [Mailchimp API Key](/secrets/mailchimp-api-key)
-   [MailerLite API Key](/secrets/mailerlite-api-key)
-   [Customer.io API Key](/secrets/customer-io-api-key)
-   [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 ConvertKit.

![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)
