# Leaked Sendbird Access Token? Revoke It and Audit Chats

> Sendbird API token in a repo or config file? Revoke secondary tokens, review channel and user activity and rotate the app credentials. Step-by-step.

Source: https://leakwatch.net/secrets/sendbird-access-token

---

[LeakWatch](/)

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

1.  [Home](/)
2.  [Secrets](/secrets)
3.  Sendbird Access Token

Messaging · Secret guide

# Leaked Sendbird Access Token: what to do in the first hour

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

A Sendbird access token is the API token that a server uses to manage a Sendbird application: creating and deleting users, reading and changing channels, and reading message history. Chat data is often the most private data an app holds, so a token that can read it is a serious find. Sendbird’s documentation distinguishes a master token, which belongs to the application and cannot be revoked, from secondary tokens, which can be created and revoked. That difference shapes the response, and it is covered below. Revoke the token you found first, then review what it could read.

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

Provider

Sendbird

Severity

High

Impact

SaaS account access and billing

Checked live by LeakWatch

No

## What a Sendbird Access Token looks like

Sendbird API tokens are long hexadecimal strings, forty characters in length in the form this rule looks for. They have no vendor prefix, so a match depends on the name it is stored under, such as `SENDBIRD_API_TOKEN` or `sendbird_token`:

```text
SENDBIRD_API_TOKEN="…XXXX"   Sendbird API token in a configuration file (masked)
```

Sendbird’s security guidance describes two kinds of token. The master API token is generated with the application and is shown in the dashboard under the application’s general settings. Secondary API tokens are created from the master token and can be listed and revoked. A token found in a file may be either kind, and the first job is to find out which one it is, because that decides whether it can be revoked at all.

The token is a server-side credential. Sendbird’s own guidance is that client applications should use session tokens for users, not the application’s API token, so an API token in a browser or a mobile app is a clear mistake.

## How Sendbird Access Tokens get leaked

-   **Client-side code.** An API token placed in a web or mobile app, where anyone with the app can read it from the bundle or the network traffic.
-   **Server configuration.** A `.env` file or deployment setting with the token, committed to a repository or copied into an image.
-   **Migration and admin scripts.** A script that creates users or imports channels, with the token typed in and then shared with a colleague.
-   **Build logs.** A CI job that prints the environment or the request headers of an API call.
-   **Support threads.** A token pasted into a forum or ticket to ask about an API error.

## What to do in the first hour

1.  **Find out which kind of token leaked.** Compare the value with the master token shown in the dashboard and with the list of secondary tokens. This decides the next step.
2.  **Revoke a secondary token.** If the leaked token is a secondary token, revoke it in the application settings. Its access ends at once, and the integration that used it will fail until it has a replacement.
3.  **Plan for the master token.** Sendbird’s documentation states that the master token cannot be revoked or changed. If the master token leaked, do not expect to revoke it. Instead, use it only to create new secondary tokens, move every integration to those, and review whether the application itself needs to be replaced with support’s help.
4.  **Review chat activity.** Check the users created or changed, the channels opened and the message history for the period since the token may have been exposed. Look for users you did not add and channels with unfamiliar members.
5.  **Check the users and roles.** Remove any account that does not belong to your product, and review the moderation settings and the webhook endpoints.
6.  **Clean the code.** Remove the value from the files, move the token to a secret manager, and check the history for older copies. See [I accidentally pushed an API key to GitHub](/blog/i-accidentally-pushed-an-api-key-to-github).

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

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

## Revoke it at Sendbird

In the Sendbird dashboard, the API tokens for an application are listed under the application’s general settings, in the API tokens area. Secondary tokens can be generated and revoked there, or through the API with the master token. The master token itself is not revocable according to Sendbird’s documentation, so the route for a leaked master token is a new application and a migration, which should be agreed with Sendbird support. The API documentation is published at [docs.sendbird.com](https://docs.Sendbird.com/docs/chat/platform-api/v3/prepare-to-use-api). This guide could not confirm the exact dashboard labels, so check them in the application settings before you act.

## How LeakWatch detects it

The rule is called “Sendbird Access Token”. It looks for the word `sendbird` close to an assignment such as an equals sign or a colon, followed by a value of forty hexadecimal characters. The word must appear before the value and near it. A forty-character hexadecimal value with no Sendbird name nearby is not reported. The severity is **high**, with the impact class for SaaS services. **This type is not checked live**: LeakWatch does not call Sendbird with the token it finds.

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 I revoke the master token?

According to Sendbird’s documentation, no. Revoke the secondary tokens that are derived from it, move the integrations to new secondary tokens, and ask Sendbird support how to handle the master token, because it stays valid for the application.

Does a leaked token expose end-user messages?

It can, if its permissions reach the message history. Review what the token could read, and treat any message data it could reach as potentially exposed.

Is a session token the same thing?

No. A session token is issued to one user, and it is meant for client apps. An API token belongs to the application and is meant for your server. Client apps should never hold an API token.

## Related

-   [Twilio API Key](/secrets/twilio-api-key)
-   [MessageBird API Key](/secrets/messagebird-api-key)
-   [Sinch API Key](/secrets/sinch-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 Sendbird.

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