New guide: how to register your sender ID and templates for India (DLT). Read now →
Log in
Telnxo
WhatsApp Business API

Run customer conversations on WhatsApp

Send Meta-approved templates, reply inside the 24-hour window and follow every delivery and read receipt through one REST API and signed webhooks.

An AI assistant drafts replies inside the 24-hour window, and your agents approve every one.

Start freeBook a demo
Request
POST /v1/messages
{ "channel": "whatsapp",
"to": "+919800000001",
"template": "order_update" }
Response
202 Accepted
{ "id": "msg_[id]" }
Receipts follow by webhook
202 Accepted
JSON
Idempotent
Send a template in one JSON callAuthenticate with a bearer key, post a small JSON body and get a message id back immediately. Delivery statuses follow by webhook.
Quickstart
cURL
Node
Python
PHP
Python
import telnxo
c = telnxo.Client("KEY")
c.send("whatsapp", to="+91…",
template="order_update")
Sent · 202
Typed SDKs
Same call shape
Official libraries for your stackPick Node, Python or PHP. The same few lines send a message and handle errors the same way everywhere.
Template status
order_updateApproved
otp_loginApproved
summer_offerIn review
Quality ratingGreen
Meta approved
Category set
Templates cleared before you sendSubmit templates for Meta approval from the console. Each shows its category and status, and only approved ones can start a conversation.
Messaging tier
Campaign burst
Queue paces to your tier
Nothing dropped
Tier aware
No lost sends
Stay inside your messaging limitsWhatsApp limits how many customers you can start conversations with. Sends above your tier queue and drain, so nothing is lost.
status events
Signed events
/webhook
200 OK
CRM
200 OK
Helpdesk
Retry in 30s
Signed payload
Retried on failure
Replies and receipts return the same waySent, delivered, read and failed statuses, plus customer replies, are signed and posted to your endpoint.
Where is my order?
AI agent
Telnxo APIscoped key
draft_replySuggest an answer
get_statusRead receipts
list_templatesApproved only
Draft ready · agent approves · sent
Window open
Agent approves
AI drafts replies inside the 24-hour windowWhen a customer writes, an assistant drafts an answer from your approved content. Your agent reviews it before it is sent.
One request
SDKs
Templates
Limits
Webhooks
AI replies
SMS APIWhatsApp APIRCS messagingVoice and IVRSIP trunkingOTP and verificationWebhooksSender ID registrationTemplatesNumber lookupDelivery analyticsOpt-out listsSMS APIWhatsApp APIRCS messagingVoice and IVRSIP trunkingOTP and verificationWebhooksSender ID registrationTemplatesNumber lookupDelivery analyticsOpt-out lists
Capabilities

Everything a WhatsApp program needs, from approval to conversation

Template management

Create templates in the console or by API, choose the category and language, and see Meta approval status for each one before you send.

Create templates in the console or through the API, pick a category and language, and submit them to Meta without leaving Telnxo. Each template shows its current status, so you know which messages can be sent before a campaign is scheduled, and rejected templates come back with Meta's reason.

  • Utility, authentication and marketing categories
  • Approval status per language
  • Reason shown when a template is rejected

Two-way conversations

Customer replies reach your webhook with text, media and button taps, so your app, bot or agents can answer in the same thread.

Replies, images, documents, location pins and button taps all arrive on your webhook in one consistent format. Route them to a bot, a helpdesk or your own agents, and answer inside the same thread, with the conversation history attached to the customer.

  • Text, media and button replies
  • One payload format across channels
  • Reply by API in the same thread

Interactive messages

Reply buttons, list menus and call-to-action buttons turn a message into a one-tap action, and the choice comes back to your webhook.

Reply buttons, list menus and call-to-action buttons let a customer confirm, choose or pay in one tap. The selected option comes back to you as structured data, so you do not have to parse free text.

  • Up to three quick-reply buttons
  • List menus for longer choices
  • Selections returned as structured data

24-hour window handling

The API tracks whether a customer wrote in the last 24 hours. Free-form replies go out inside the window and approved templates go out outside it.

After a customer messages you, a 24-hour window opens in which you can send anything. When it closes, only approved templates are allowed. The API records the window per customer and rejects a free-form send that would be blocked, so you find out in testing and not in production.

  • Window state available per customer
  • Free-form sends checked before dispatch
  • Template used automatically if you choose

Opt-in and quality tracking

Record opt-in for each contact, and watch your quality rating and messaging limit so one campaign does not push your number into a lower tier.

Record where and when each customer agreed to receive WhatsApp messages, and keep that record next to the contact. Your quality rating and current messaging limit are shown in the console, so you can pace campaigns before Meta lowers your tier.

  • Opt-in source and time stored
  • Quality rating shown per number
  • Messaging limit visible before you send

Delivery and read receipts

Sent, delivered, read and failed statuses are posted to your webhook, with the reason code whenever a message does not go through.

Every message moves through sent, delivered, read or failed, and each change is posted to your webhook. A failed message carries a reason code, such as a closed window, a missing opt-in or a number that is not on WhatsApp, so support can see exactly what happened.

  • Delivery and read receipts
  • Reason code on every failure
  • Retries until your endpoint acknowledges

How it works

Your appA backend, CRM or chatbot calls the messages endpoint with a template or a reply.
Telnxo platformChecks the template, opt-in and 24-hour window, applies messaging limits, sends through Meta and tracks every status.
Customer on WhatsAppReceives the message and replies, and statuses and replies come back to your webhook.
STEP 1

Connect your WhatsApp Business account

Link your business account and phone number through guided onboarding. Your display name and quality rating appear in the console once Meta clears them.

STEP 2

Create and submit a template

Write the message, choose utility, authentication or marketing, add variables and submit it. Its approval status updates in the console.

STEP 3

Send and listen

Call the messages endpoint with the approved template, then receive status updates and customer replies on your webhook.

See it in action

WhatsApp Business API in action

Each stage plays automatically. Select one to pause on it. Illustrative interface: all figures and addresses shown are sample data.

app.telnxo.com/whatsappSample data
Category
Utility
Language
English
Status
Approved
Sample activityTemplate
draftorder_update saved
submitsent to Meta
reviewin review
approvedready to send
Status
202
Id
Returned
Channel
whatsapp
Sample activitySend
requestPOST /v1/messages
checktemplate and opt-in ok
responsemessage id returned
queuedaccepted
Window
Open
Reply
Free-form
Buttons
Tapped
Sample activityConverse
inboundcustomer reply received
window24 hours open
replyagent message sent
buttonconfirm tapped
Delivered
Event
Read
Event
Failed
Reason code
Sample activityTrack
deliveredevent posted
readevent posted
failedwindow closed
retrybackoff on 5xx
For developers

One API for templates, sends and conversations

The endpoint that sends SMS also sends WhatsApp, so adding the channel is a parameter change and not a second integration. Webhook events share one format across channels.

  • One /v1/messages endpoint for SMS, WhatsApp and RCS
  • Template variables passed by name
  • Signed webhooks for statuses and replies
  • Idempotency keys for safe retries
At a glance01 / 05
Base URLapi.telnxo.com/v1
AuthenticationBearer API key
Channelchannel: "whatsapp"
EventsSigned webhooks (X-Telnxo-Signature)
ReferenceAPI reference and SDKs for Node, Python and PHP
Overview

What is the WhatsApp Business API?

The WhatsApp Business API lets a company send and receive WhatsApp messages from software, instead of from a person using the phone app. Your code posts a recipient and a template, or a free-form reply, and the platform delivers it through Meta, then reports sent, delivered, read and failed statuses back to you.

WhatsApp has rules that SMS does not. Business-initiated conversations start with a template that Meta has approved, in one of four categories: utility, authentication, marketing or service. Once a customer replies, a 24-hour customer-service window opens in which you can send free-form messages. Telnxo tracks that window for you and tells you which kind of message is allowed.

Delivery also depends on the customer relationship. Each person must have opted in, and Meta rates your number on how recipients react, such as blocks and reports. A low quality rating lowers your messaging limit, so opt-in records, template wording and send pacing belong in the product and not in a spreadsheet.

Use cases

Common WhatsApp API use cases

Order and shipping updates

Confirmation, dispatch and delivery messages sent as utility templates, with a tracking button that opens the right page.

Login and payment codes

Authentication templates deliver one-time codes with a copy-code button, and can fall back to SMS if the message is not delivered.

Support conversations

Customers write in, your agents or bot reply inside the 24-hour window, and the full thread stays attached to the customer record.

Appointment and fee reminders

Reminder templates with confirm and reschedule buttons, so the reply updates your calendar or billing system directly.

Cart recovery and offers

Marketing templates sent only to contacts who opted in, with quick-reply buttons and opt-out handled for you.

Lead qualification

Ask two or three questions with list menus and buttons, then pass the answers to your CRM or hand the chat to a sales agent.

Choosing a method

WhatsApp or SMS?

Both run on the same API. Choose by what the message needs, or send on WhatsApp and fall back to SMS.

WhatsApp APISMS API
Best forTwo-way conversations, rich messages and buttonsCodes, alerts and reminders to any phone
ReachPeople who use WhatsApp and opted inEvery mobile number
SetupBusiness account and Meta-approved templatesSender ID and templates where the country requires it
VisibilitySent, delivered and read receipts, plus repliesDelivery receipts and carrier responses

Many teams use both: WhatsApp for conversations and rich updates, SMS as the fallback for customers who are not reachable on WhatsApp, under one workspace and one API.

AI features

AI-assisted WhatsApp

Assist

Reply suggestions

When a customer writes, an assistant drafts a reply from your approved answers. Your agent edits and sends it, and the draft is only offered while the 24-hour window is open.

Assist

Template review

Drafts are checked against Meta category and formatting rules before submission, with suggested fixes for the most common rejection reasons.

Predictive

Quality alerts

Models watch blocks, reports and read rates for each number and warn you when quality is slipping, before the messaging limit drops.

Copilot

Failure explainer

A copilot reads the error code on a failed message and explains in plain language whether it was opt-in, a closed window, a template issue or an unreachable number.

AI features are assistive: they draft and explain, and a person approves anything sent to a customer or submitted to Meta.

Best practices

Best practices for WhatsApp messaging

Pick the right template category

Meta judges a template by its content. Order updates are utility, codes are authentication, and anything promotional is marketing. A wrong category is a common reason for rejection.

Collect clear opt-in

Record when and where each customer agreed to hear from you on WhatsApp. Opt-in protects your quality rating and is required before you send marketing templates.

Keep variables meaningful

Fill every variable with real data and keep the fixed wording useful on its own. Templates that are mostly variables are more likely to be rejected.

Reply fast inside the window

The 24-hour window restarts with each customer message. Answering quickly keeps the conversation free-form and avoids paying for a new template message.

Watch quality before scaling

Increase volume gradually and check your quality rating after each campaign. Blocks and reports lower your rating and can reduce your messaging limit.

Plan an SMS fallback

Not every customer has WhatsApp. Route the same message to SMS when WhatsApp is not delivered, so critical notices and codes still reach people.

FAQs

WhatsApp Business API: frequently asked questions

Not sure how your use case maps to template categories? Our team can review it before you submit.

What is the WhatsApp Business API?

It is the interface companies use to send and receive WhatsApp messages from software. You send templates and replies by API call, and receive customer messages and delivery statuses by webhook.

How do I get started?

Connect your WhatsApp Business account in the console, add a phone number, submit your first template for approval and send a test message. We guide you through each step and show the status as Meta clears it.

Do I need approved templates?

Yes, to start a conversation. Business-initiated messages must use a template that Meta has approved. Once the customer replies, you can send free-form messages for 24 hours.

What is the 24-hour window?

It is the period after a customer last messaged you in which you can reply with any content. After it closes you can only send approved templates. Telnxo tracks the window per customer through the API.

Can I send interactive buttons and lists?

Yes. Quick-reply buttons, call-to-action buttons, list menus and, where Meta supports it, product messages can be sent, and button taps arrive on your webhook.

Which countries are supported?

[List the supported countries here once confirmed.]

What happens if a customer is not on WhatsApp?

The send fails with a reason code. You can configure the same message to fall back to SMS or RCS, or handle the failure yourself from the webhook.

Does the AI assistant message customers by itself?

No. It drafts replies and explains failures, but a person approves what is sent to customers or submitted to Meta.

From the blog

Latest analysis, trends and market data

Start messaging in minutes.

Create an account, register your sender and send your first SMS or WhatsApp message.

Get started Talk to sales