Skip to content
SMS SDK
Esc
↑↓navigate↵open⌘Jpreview
On this page

About SMS SDK

SMS SDK is an open-source TypeScript library from OpenCore that sends and receives SMS through Twilio, Telnyx, Plivo, Vonage, Bandwidth, and Sinch with one API.

SMS SDK (@opencoredev/sms-sdk on npm) is an open-source TypeScript library for sending and receiving transactional SMS. One send() call works with Twilio, Telnyx, Plivo, Vonage, Bandwidth, and Sinch, and parseSmsWebhook() verifies a provider’s delivery or inbound webhook and returns one event shape for every provider. It has no runtime dependencies.

At a glance

Checked against the 0.1.1 package on 2026-12-02.

Question Answer
Package @opencoredev/sms-sdk on npm. Install it with npm install @opencoredev/sms-sdk. The GitHub repository is opencoredev/sms-sdk, which is not a package name.
Version 0.1.1 is the current npm version.
Providers Supported: Twilio and Telnyx. Partial: Plivo, Vonage, Bandwidth, and Sinch. Each provider page lists its gaps.
Runtimes Node.js 20 or later and Bun 1.1 or later. ESM only.
License and cost MIT. No paid tier and no per-message fee. Your provider bills you for the messages you send.
What a live send needs Your own provider account and a sender that account is allowed to use: a phone number, a short code, an alphanumeric sender ID where the country allows it, or a number pool such as a Twilio Messaging Service. For tests, the memory() adapter needs no account and sends nothing.
What it isn’t An SMS provider or carrier. The library calls your provider directly. OpenCore operates no hosted SMS relay.

Why it exists

Every SMS provider has its own client library, its own error codes, and its own webhook format. Switching providers, or adding a second one as a fallback, usually means rewriting the code that sends messages and the code that receives status updates. SMS SDK puts one typed API in front of all six, so the provider becomes a configuration choice.

It is also strict about the one mistake that costs real money and annoys real people: sending the same text twice. send() resolves only when a provider accepted the message. When the outcome is unknown, it throws HandoffUnknownError and never retries or falls back on its own. How sending works explains each outcome.

How provider behavior is documented

Each adapter relies on provider facts: endpoints, error codes, signature schemes, and which errors mean a message was definitely refused. PROVIDERS.md lists every one of those facts with a link to its source, and says what could not be confirmed. A provider is marked partial when part of its behavior is undocumented.

Who builds it

SMS SDK is built by OpenCore and maintained by Leo. The code lives at github.com/opencoredev/sms-sdk.

SMS SDK is not affiliated with or endorsed by Twilio, Telnyx, Plivo, Vonage, Bandwidth, or Sinch. Their names identify the services the adapters connect to.

Get in touch

See Contact for questions, bug reports, and security issues, and Privacy for what this site and the library collect.

Last updated on