SMS API

SMS API for Developers

Send SMS programmatically with one API call. Global coverage, real-time delivery reports, and production-ready SDKs.

200+

Countries

<5s

Avg Delivery

99.9%

Uptime

Send your first SMS

One API call. That's all it takes.

import Zavudev from "@zavudev/sdk";

const client = new Zavu();

// Send a WhatsApp message in one line
const result = await client.messages.send({
  to: "+14155551234",
  channel: "whatsapp",
  text: "Hello from Zavu!",
});

console.log(result.message.id);

Why developers choose Zavu for SMS

A simple, reliable SMS API with transparent pricing and production-ready SDKs.

Production SDKs

Python and Node.js SDKs. Install with one command and start sending SMS in minutes.

One Simple Endpoint

POST /v1/messages for everything. Same endpoint for SMS, WhatsApp, and Email.

Global Coverage

Send SMS to 200+ countries. Automatic carrier routing for best deliverability.

Smart Fallback

Automatic retry logic and carrier failover. Your messages always get delivered.

Real-time Webhooks

Delivery status updates and incoming messages. Know when your SMS is delivered.

Transparent Pricing

Pay per message with no hidden fees. Volume discounts available.

Common SMS use cases

From authentication to marketing, SMS is the most reliable way to reach your users.

2FA / OTP

Verification codes

Notifications

Alerts & reminders

Marketing

Promotional campaigns

Support

Customer updates

Appointments

Booking confirmations

Tracking

Order status updates

Code examples for common use cases

Copy-paste examples for bulk sending, webhooks, and phone validation

Send Bulk SMS

Send promotional or transactional SMS to multiple recipients.

import Zavudev from "@zavudev/sdk";

const client = new Zavu();

// Send bulk SMS to multiple recipients
const recipients = [
  "+14155551234",
  "+14155555678",
  "+14155559012",
];

const results = await Promise.all(
  recipients.map(to =>
    client.messages.send({
      to,
      channel: "sms",
      text: "Flash sale! 50% off everything. Use code FLASH50 at checkout.",
    })
  )
);

Handle Webhooks

Receive real-time delivery reports and incoming messages.

import express from "express";

const app = express();

app.post("/webhooks/zavu", express.json(), (req, res) => {
  const event = req.body;

  switch (event.type) {
    case "message.delivered":
      console.log("SMS delivered:", event.data.id);
      break;
    case "message.failed":
      console.log("SMS failed:", event.data.id, event.data.errorMessage);
      break;
  }

  res.status(200).send("OK");
});

Validate Phone Numbers

Check if a number is valid and get carrier information before sending.

import Zavudev from "@zavudev/sdk";

const client = new Zavu();

// Validate phone number before sending
const introspection = await client.introspection.phone({
  phoneNumber: "+14155551234",
});

console.log("Valid:", introspection.validNumber);
console.log("Country:", introspection.countryCode);
console.log("Carrier:", introspection.carrier?.name);
console.log("Type:", introspection.lineType);
Multi-Channel API

One API, all channels

Start with SMS today, add WhatsApp and Email tomorrow. Same API, same SDK, same endpoint. Your integration grows with your needs.

  • Single MAU charge - $0.001/contact regardless of channel used
  • Same endpoint - Just change the channel parameter
  • Smart fallback - Auto-retry via SMS if WhatsApp fails
  • Unified webhooks - All delivery events in one place
Explore WhatsApp for Developers

SMS

Global delivery, 200+ countries

WhatsApp

Rich media, buttons, templates

Email

Transactional emails via SES

Calculate your costs

See exactly what you'll pay

No hidden fees. What you see is what you pay.

Unique contacts messaged per month
1,000100,000
Free within 24h conversation window
0100,000
0500,000
0100,000

Cost Breakdown

Platform Fee (MAU)

3,000 contacts × $0.001

$3.00

WhatsApp Messages

100,000 messages

Free

Email Messages

10,000 × $0.0001

$1.00

SMS Messages

0 × $0.0410

$0.00
Estimated Total$4.00

per month

WhatsApp is free within the 24h conversation window. SMS and Email rates are pass-through at cost. All prices in USD.

WhatsApp template messages outside the 24h window are charged directly by Meta. View Meta pricing

$0.001

per MAU

Free

WhatsApp (24h)

$0.041

SMS per message

$0.0001

Email per message

Zavu vs. the alternatives

A developer-friendly SMS API with transparent pricing

FeatureZavuTwilioVonage
Setup time5 minutes30+ minutes30+ minutes
Official SDKs2 languages7 languages6 languages
Pricing model$0.001/MAU + pass-throughPer segmentPer message
US SMS price$0.004$0.0079$0.0077
Multi-channel support
Free phone number
Hidden feesNoneCarrier feesPlatform fees
SupportIncludedPaid plansPaid plans

Get started in 3 steps

From signup to sending your first SMS in under 5 minutes

1

Get your API key

Sign up for free and get your API key from the dashboard. No credit card required.

export ZAVU_API_KEY=zavu_live_...
2

Install the SDK

Install the SDK for your language with a single command.

pip install zavudev # or: npm install @zavudev/sdk
3

Send your first SMS

You're ready to send SMS messages with one API call.

client.messages.send(to="+1...", channel="sms", text="Hello!")

Frequently asked questions

Common questions about our SMS API

What phone number do I need to send SMS?

You can use a Zavu phone number or bring your own. We offer US local and toll-free numbers. Your first US number is free. International numbers available in 40+ countries.

How fast are SMS messages delivered?

Most SMS messages are delivered within seconds. Delivery time depends on carrier congestion and recipient network. We provide real-time delivery reports via webhooks.

Can I receive SMS replies?

Yes. Configure a webhook URL and we'll POST incoming messages to your server in real-time. Two-way SMS is supported on all our phone numbers.

What's the character limit for SMS?

Standard SMS supports 160 characters (GSM-7 encoding) or 70 characters with Unicode. Longer messages are automatically split and reassembled by the recipient's phone.

Do you support MMS (images/media)?

MMS is supported in the US and Canada. Send images, GIFs, and short videos via the same API endpoint by specifying messageType: 'image' and providing a mediaUrl.

What about A2P 10DLC registration?

Zavu handles 10DLC registration automatically when you create a sender. We register your brand and campaigns with TCR, and include all registration fees in your plan. Learn more in our A2P 10DLC Guide.

Start sending SMS today

Get your free API key and send your first message in minutes. No credit card required.

SMS API for Developers | Send SMS Programmatically | Zavu