WhatsApp API

37 endpoints for messaging, broadcasts, contacts, templates, phone numbers, and business profile. One REST API.

  • Free tier
  • No credit card
  • 99.97% uptime

Hi Mark, order #4821 has shipped 📦

Track it: zernio.shop/t/4821

08:21
Perfect, thanks! 🙌
08:23
Could it come on Friday instead?
08:23

Done, it arrives Friday between 9 and 1.

08:24
Amazing, see you then 👋
08:24

Join 200,000+ of the world's most ambitious developers and builders

Warner Music Group
Runable
ClickUp
MoFlo
RE/MAX
Readdy
How it works

Live in three steps, no WhatsApp app review

1

Profile

default

WhatsApp

Connect WhatsApp

Sign up for free, get your API key and connect WhatsApp accounts through our OAuth flow.

2

POST /v1/posts

const { data } = await zernio.posts.createPost({
  body: {
    content: 'Launch day! 🚀',
    mediaItems: [{ url: 'https://cdn.acme.com/launch.jpg' }],
    platforms: [
      { platform: 'whatsapp', accountId: 'acc_8f2a' },
    ],
    scheduledFor: '2027-01-15T14:30:00',
    timezone: 'Europe/Madrid',
  },
});

Make one call

Send content to WhatsApp from one REST endpoint, right away or scheduled.

3

post.failed

Webhook sent to your app

Failed

Mon, 18 Jan

09:00, Europe/Madrid

Scheduled

Launch day! 🚀

Fri, 15 Jan at 14:30

Published

Track every post

Follow each post from scheduled to published, with a webhook when one fails.

Endpoints

WhatsApp endpoints on one REST API

EndpointWhat it does
POST/v1/broadcastsCreate a WhatsApp broadcast campaign with a Meta-approved template
GET/v1/broadcastsList WhatsApp broadcast campaigns with delivery stats
GET/v1/broadcasts/{id}Get broadcast details including sent, delivered, and read counts
POST/v1/broadcasts/{id}/recipientsAdd WhatsApp recipients by phone number, contact ID, or segment
POST/v1/broadcasts/{id}/sendSend a WhatsApp broadcast campaign immediately
POST/v1/broadcasts/{id}/scheduleSchedule a WhatsApp broadcast for a future time
POST/v1/broadcasts/{id}/cancelCancel a scheduled or in-progress WhatsApp broadcast
GET/v1/whatsapp/templatesList all Meta-approved message templates from your WABA
POST/v1/whatsapp/templatesCreate a new WhatsApp template (submitted to Meta for approval)
PUT/v1/whatsapp/templates/{name}Update an existing WhatsApp message template
DELETE/v1/whatsapp/templates/{name}Delete a WhatsApp message template
GET/v1/contactsList WhatsApp contacts with filtering by tags, opt-in status, and search
POST/v1/contactsCreate a WhatsApp contact with phone number and tags
PATCH/v1/contacts/{id}Update a WhatsApp contact (name, tags, opt-in status, custom fields)
DELETE/v1/contacts/{id}Delete a WhatsApp contact
POST/v1/contacts/bulkBulk import up to 1,000 WhatsApp contacts with phone numbers
GET/v1/whatsapp/phone-numbersList all purchased WhatsApp phone numbers
GET/v1/whatsapp/phone-numbers/availableSearch available US numbers for purchase
POST/v1/whatsapp/phone-numbers/purchasePurchase a WhatsApp-ready phone number
POST/v1/whatsapp/phone-numbers/{id}/verifyComplete phone number verification
GET/v1/whatsapp/business-profileGet WhatsApp Business profile (about, address, description)
PUT/v1/whatsapp/business-profileUpdate WhatsApp Business profile fields
Media specs

What you can upload to WhatsApp

Zernio transcodes and optimizes media for WhatsApp's requirements automatically.

whatsapp/media-specs
TypeFormatMax sizeNotes
ImageJPEG, PNG5 MBSupported in template headers and media messages
VideoMP4 (H.264/AAC)16 MBSupported in template headers and media messages
AudioAAC, MP4, MPEG, AMR, OGG16 MBVoice and audio messages
DocumentPDF, DOC, XLS, PPT, etc.100 MBAny common document format supported
Capabilities

Everything the API handles for you

WhatsApp enforces per-phone-number messaging tiers based on your quality rating (1K, 10K, 100K, unlimited). Zernio handles rate limit errors (131047) with automatic retries and exponential backoff.

Embedded Signup

One-click signup. No Meta developer app or Business Manager required.

Broadcasts

Send to 100 recipients per request with per-user template variables.

Full WhatsApp API

Broadcasts, contacts, templates, phone numbers, and business profile management.

Contact CRM

Bulk import, tags, custom fields, subscription tracking, search, and segmentation.

Phone numbers

Search, purchase, and verify WhatsApp-ready US numbers via API.

Business profile

Read and update about, description, address, email, and websites.

Webhooks

Incoming messages, delivery status, and read receipts, delivered as they happen.

Meta changes absorbed

We absorb Meta's breaking changes so your integration keeps working.

24-hour window

The messaging window is handled for you, with clear errors and no silent failures.

Templates

Create, list, update, and delete. We track category changes to prevent surprise billing.

Response

What comes back from every call

Plain JSON back from every WhatsApp call, with the IDs and statuses your app needs to follow up.

cURL

$

{
  "success": true,
  "status": "completed",
  "sent": 2,
  "failed": 0,
  "recipientCount": 2
}

Start building with the WhatsApp API

Free tier available. No credit card required.

  • Free tier
  • No credit card
  • 99.97% uptime