
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
@sendbird/sendbird-platform-sdk-javascript
Advanced tools
Server side JavaScript SDK for Sendbirds Platform API

This is a Node.js package that makes talking to the Sendbird Platform API easier. With this library you can extend your Sendbird integration to include advanced features like channel automation and user management.
Note: Platform API SDK v2 includes only the APIs that were actively used in v1. If you need help getting started with the new SDK, contact us.
npm install @sendbird/sendbird-platform-sdk-javascript
import SendbirdPlatformSdk from '@sendbird/sendbird-platform-sdk-javascript';
const userId = "1234";
const name = "bob";
const profileUrl = "https://picsum.photos/200";
const apiToken = "YOUR_API_TOKEN";
const appId = "YOUR_APP_ID";
const opts = {
createAUserRequest: new SendbirdPlatformSdk.CreateAUserRequest(
userId,
name,
profileUrl
),
};
async function createUser() {
const userApiInstance = new SendbirdPlatformSdk.UserApi();
userApiInstance.apiClient.basePath = `https://api-${appId}.sendbird.com`;
try {
const data = await userApiInstance.createAUser({apiToken, ...opts});
console.log(data);
} catch (e) {
console.log(e);
}
}
createUser();
In order to make requests with this SDK you will need you master API token. This can be found through the Sendbird dashboard. Each app you create in Sendbird has its own master api token. These tokens can be found in Settings > Application > General.

You will need Node.js installed. This has been developed and tested with NodeJS 17+.
You can install the SDK directly from npm:
# Using npm
npm install @sendbird/sendbird-platform-sdk-javascript
# Using yarn
yarn add @sendbird/sendbird-platform-sdk-javascript
⚠️ This SDK is intended for use in server-side environments only. Do not use it in browsers or frontend applications.
To run locally we need to make use of the npm link command. You will require two terminal tabs.
Please follow these steps:
git clone git@github.com:sendbird/sendbird-platform-sdk-javascriptcd sendbird-platform-sdk-javascriptnpm installnpm run buildnpm linkmkdir app-using-sendbird-chat
npm init -ynpm link path/to/sdk/sendbird-platform-sdk-javascriptThe linking step is demonstrated visually here.

All the documentation for this project lives in the /docs directory of this repo.
| Documentation | |
|---|---|
| Announcement | docs/AnnouncementApi.md |
| Bot | docs/BotApi.md |
| GroupChannel | docs/GroupChannelApi.md |
| Message | docs/MessageApi.md |
| OpenChannel | docs/OpenChannelApi.md |
| User | docs/UserApi.md |
| Moderation | docs/ModerationApi.md |
FAQs
Server side JavaScript SDK for Sendbirds Platform API
The npm package @sendbird/sendbird-platform-sdk-javascript receives a total of 122 weekly downloads. As such, @sendbird/sendbird-platform-sdk-javascript popularity was classified as not popular.
We found that @sendbird/sendbird-platform-sdk-javascript demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.