Skip to content
integrationspackages/integrations/sms

sms package

Transactional SMS + OTP verify — Twilio Verify globally, Aliyun for mainland China — same send(to, template) surface, automatic local-prefix routing.

Stability
Stable
Scope
Global
Boundary
packages/integrations/sms
smspackages/integrations/sms
Provider-agnostic
Available providers
Twilio Verifystandby
AliyunActive
Inbound requestsms
{ to: "+1 415 555 0142", body: "OTP 4821" }
Adapter resolve3ms
sms Dispatch56ms
Acked3ms
x

Provider

Aliyun

Latency p50

66 ms

Success rate

98%

+0.7%

Volume today

5,656

packages/integrations/smsprovider-agnostic
Usagesms.ts
typescript
sms.ts
1import { getSmsProvider } from "@nebutra/sms";
2
3// Provider-agnostic — backend chosen from env at runtime.
4const sms = await getSmsProvider();
5
6await sms.connect({ tenantId: org.id });