WhatsApp API for Your App Notifications

Integrate the Tanotif WhatsApp API into your app in minutes to send automated notifications. Fast and simple for developers.

Get Started

Sign up, grab your access_key, and send your first WhatsApp message.

Illustration of a developer sending notifications through the Tanotif API

What Is the WhatsApp API?

The WhatsApp API is a programming interface that lets an application send and receive WhatsApp messages automatically, without an operator typing on a phone. Meta's route for this is the WhatsApp Business Platform (Cloud API): messages are sent from the business's own WhatsApp Business number, use Meta-approved templates, and their status is reported back to the server.

How the WhatsApp API works in four steps

Step 1

Your app calls the API

When an event happens (an order is placed, an OTP is requested), your server sends a POST with the template_key, recipient number and variables.

Step 2

The request is queued

Tanotif replies 201 with a transaction_key per recipient, then forwards the message to Meta's Cloud API from your number.

Step 3

Meta delivers to the customer

Meta checks the template, then the message arrives in the customer's WhatsApp chat under your business name.

Step 4

Status returns to your server

Your callback URL receives sent, delivered, read or failed status, plus incoming customer messages.

Two kinds of WhatsApp API messages

  • Template messages: start a conversation at any time, for example OTPs, order confirmations and reminders. The content must be a Meta-approved template.
  • Session messages: free text or files to reply to a customer, only within 24 hours of the customer's last message.

What you need

  • Your own WhatsApp Business number and WhatsApp Business Account (WABA), connected through Meta Embedded Signup.
  • A Meta-approved template and an access_key from the dashboard.
  • A payment method in WhatsApp Manager, because message fees are billed directly by Meta.

Read more: what a WABA is (ID), WhatsApp gateway for notifications, and the integration flow in the docs.

Problems the Tanotif WhatsApp API Solves

Important notifications such as OTP codes, order updates and reminders must arrive on time. Without an API, teams usually run into these three obstacles.

Manual sending cannot keep up with volume

Retyping messages one by one in the WhatsApp app is slow and prone to wrong numbers.

With Tanotif: your app calls one endpoint and template messages go out automatically to one or many numbers.

A direct Meta integration takes time

Connecting numbers, submitting templates, reading webhooks and handling rate limits all have to be built yourself.

With Tanotif: numbers connect through Embedded Signup, templates are submitted from the dashboard and status is forwarded to your callback.

Delivery status is invisible

Without status reports you cannot tell whether an OTP code or invoice reached the customer.

With Tanotif: every recipient gets a transaction_key, and sent, delivered, read or failed status is posted to your server.

Tanotif WhatsApp API Features for Modern Apps

Tanotif helps your app send automated WhatsApp notifications through a simple API.

WhatsApp icon

Simple WhatsApp API

Send template-based WhatsApp notifications to one or many numbers through a single endpoint with a compact JSON structure.

Fast API integration icon

Lightning-Fast Integration

Clear documentation and a simple API syntax let you integrate notifications in under 1 hour.

Illustration of callback integration code

Status via Callback

Receive sent, delivered, read or failed status for every message directly on your server through a callback URL.

Learn more: WhatsApp gateway, send WhatsApp OTP, the API documentation, WhatsApp API pricing plans, and tutorials on the blog.

How Tanotif Integration Works

1

Create an Account

Sign up and get your API Key credential (access_key).

2

Documentation

Read the concise Tanotif API documentation. Code samples are available in several languages.

3

Create a Template

Design templates that fit your needs or use the standard templates we provide.

4

Call the API

Call the API from your app and send WhatsApp messages to your users.

A WhatsApp API Request in a Single Call

Every send uses POST with a JSON body and an access_key header. Set template_key to a Meta-approved template, then list recipients and their variables in the data array.

  • 201: request accepted and queued, with a transaction_key per recipient.
  • 400: invalid data, template not found or wrong access key.
  • 422: template not yet approved by Meta or no WhatsApp number registered.

Recipient numbers may start with 08, 8 or 62. Node.js, PHP and Python examples are in the WhatsApp API documentation, and every endpoint can be tried in Swagger Docs.

cURL

curl -X POST https://tanotif.com/api/whatsapp/message/send \
  -H "Content-Type: application/json" \
  -H "access_key: ACCESS_KEY_ANDA" \
  -d '{
    "template_key": "TEMPLATE_KEY_ANDA",
    "data": [
      { "recipient": "081234567890",
        "variables": ["Budi", "482913"] }
    ]
  }'

WhatsApp API Use Cases for Different Businesses

Every message uses a template in a Meta category: Authentication for OTP codes, Utility for transactional notifications, and Marketing for promotions to contacts who opted in.

Authentication

Login and verification OTP codes

SaaS apps, fintech and marketplaces send OTP codes generated by their own server. The message text follows Meta's format and can include a copy-code button.

Send WhatsApp OTP

Utility

Order and payment notifications

Online stores and POS apps announce received orders, completed payments or shipped parcels with name and order number variables.

See the WhatsApp gateway

Utility

Appointment and billing reminders

Clinics, booking services, schools and courses send schedule or due-date reminders from the systems they already run.

Learn the webhook flow (ID)

Marketing

Promotions to opted-in contacts

Brands share product news with customers who gave permission. Marketing templates are reviewed by Meta and priced under Meta's terms.

Compare plan quotas
Illustration of a developer connecting data and APIs

Built for Developer Convenience

We know developer time is precious. Focus on your application logic and leave the notifications to us.

Simple API, Complete Documentation

  • Clean Syntax: Call the WhatsApp notification API with a simple JSON structure.
  • Fast Response: Requests are answered right away with status 201 and a transaction_key, then messages are processed in a queue.
  • Code Samples: cURL, Node.js, PHP, and Python request examples are available in the documentation.
Explore the API Documentation

Security and Delivery Reliability

Illustration of secure WhatsApp delivery: a padlocked shield, a server queue with automatic retries, and a recipient phone with a check mark
  • Your number stays yours. The number and WhatsApp Business Account connect directly to Meta through Embedded Signup.
  • Access via access_key. Every request must carry the access_key, and the key can be regenerated from the dashboard if it leaks.
  • Queue with retries. Messages are processed through a queue. Temporary Meta errors, such as rate limits or server faults, are retried automatically up to 3 times.
  • Per-recipient trail. transaction_key and message_id are recorded in the dashboard history to match against your system.

Honest note: callbacks are not signed yet and are not resent if your server fails to respond. For important messages, match the transaction_key against the transaction history.

Manual Sending vs the Tanotif WhatsApp API

How notifications work when sent manually from the WhatsApp app compared with automatically from your application code.

Aspect Manual sending Through the Tanotif API
Send trigger An operator opens the app and types the message Application code calls the endpoint when an event happens
Many recipients One at a time Several recipients in one request
Message content Retyped, prone to typos Meta-approved template with variables
Delivery status Checked manually in each chat Callback with sent, delivered, read, failed
History Scattered across operator phones Transaction history in the dashboard with transaction_key
Sender number A personal number or the WhatsApp Business app Your own WhatsApp Business number on Meta's Cloud API

Tanotif WhatsApp API Plans

A monthly software subscription. WhatsApp message fees are billed directly by Meta per template category; Tanotif takes no margin on Meta's fees.

Free

Free for 14 days

Try every core feature for 14 days with one number and one user.

  • 1 WhatsApp numbers
  • 1 team members
  • 1 workspaces

Starter

Rp25,000/month

For one business with one WhatsApp number and a small team.

  • 1 WhatsApp numbers
  • 3 team members
  • 1 workspaces

Pro

Rp99,000/month

For agencies and businesses with several brands, numbers, and teams.

  • 10 WhatsApp numbers
  • 10 team members
  • 5 workspaces

See full plan details

Latest Developer Guides and Articles

Tutorials on APIs, webhooks, OTP and WhatsApp notifications from the Tanotif blog (in Indonesian).

Read all articles on the blog

Frequently Asked Questions about the WhatsApp API

What is the Tanotif WhatsApp API?

The Tanotif WhatsApp API is a SaaS service that connects your application to the WhatsApp Business Platform (Cloud API) by Meta through a compact REST API. Your app calls one endpoint to send a template message to one or many numbers, then receives delivery status through a callback.

How is the WhatsApp API different from the WhatsApp Business app?

The WhatsApp Business app runs on a phone and is used to reply to chats manually. The WhatsApp API is used from code: your application sends automated messages to many numbers with Meta-approved templates and receives delivery status through a callback. The number used with the WhatsApp API is linked to a WhatsApp Business Account (WABA) at Meta.

What is the difference between a WhatsApp API and a WhatsApp gateway?

A WhatsApp API is an interface for sending and receiving WhatsApp messages from an application. A WhatsApp gateway is an intermediary service that provides that API along with a dashboard, templates and callbacks, so you do not have to build a Meta integration yourself. Tanotif is a gateway built on Meta's Cloud API.

Can the WhatsApp API send messages without a template?

Yes, but only to reply to a customer within 24 hours of their last message. This rule is set by Meta. Outside that window, a conversation can only be started with an approved template message, for example for OTPs or order notifications.

What do I need to start using the Tanotif WhatsApp API?

Four things: a Tanotif account, your own WhatsApp Business number connected through the Connect Number menu (Meta Embedded Signup), at least one message template approved by Meta, and the access_key from the Access Key page in the dashboard.

Which programming languages can I use?

Any language that can send an HTTP POST request with a JSON body. The documentation includes cURL, Node.js, PHP and Python examples, and every endpoint can be tried directly in Swagger Docs with your access_key and template_key.

Can one request send to many numbers at once?

Yes. Fill the data array with several recipients, each with its own number and template variables. Tanotif replies with status 201, queues the messages and returns a transaction_key for every recipient.

How long does WhatsApp template approval take?

Templates are reviewed by Meta, not by Tanotif. The status changes automatically to APPROVED or REJECTED, usually within minutes up to 24 hours. Once approved, the template_key is ready to use in API calls.

How do I know a message was delivered?

Set a callback URL in the dashboard. Tanotif sends a POST to your server when Meta accepts or rejects the message, then for every delivery status from Meta: sent, delivered, read or failed. Incoming customer messages are forwarded to the same URL, and every transaction is recorded in the dashboard history.

How much does the Tanotif WhatsApp API cost?

Tanotif charges a monthly software subscription, starting at Rp25,000 for the Starter plan. WhatsApp message fees are billed directly by Meta to the payment method in your WhatsApp Manager based on the template category. Each plan's quotas are listed on the Pricing page.

Still have questions? Read the full documentation or the pricing FAQ.

Start Sending WhatsApp Notifications from Your App

Sign up, connect your WhatsApp Business number, submit a template, then call the API following the documentation examples.