WhatsApp Gateway for App Notifications

Tanotif is a WhatsApp gateway built on the WhatsApp Business Platform (Cloud API) by Meta. Connect your own WhatsApp Business number in a few clicks, then send template-based notifications to many numbers with a single JSON request and receive sent, delivered, and read statuses through a callback.

What is a WhatsApp gateway?

A WhatsApp gateway is an intermediary between an application and WhatsApp. Instead of opening WhatsApp and typing messages one by one, the application simply calls an API and the gateway delivers the message. This pattern is used for order notifications, payment reminders, OTP codes, and status updates.

Tanotif is a Tech Provider for the WhatsApp Business Platform. Your number and WhatsApp Business Account remain yours and connect directly to Meta's Cloud API. Tanotif provides a dashboard and an API so you don't have to build your own integration with Meta.

How it differs from a WhatsApp API: the WhatsApp API is the interface your application code calls, while a WhatsApp gateway is the service that provides that API together with a dashboard, template submission, a sending queue, and status callbacks. A general explanation of how the WhatsApp API works and its message types is on the Tanotif WhatsApp API page.

What is a WhatsApp gateway used for?

A WhatsApp gateway is used to send WhatsApp messages automatically from business systems, such as an online store, a point of sale app, a school system, or a CRM, without typing them by hand. The most common uses:

  • Transaction notifications: order confirmations, invoices, and payment receipts as soon as a transaction is recorded.
  • Reminders: bill due dates, appointment schedules, or subscriptions that are about to expire.
  • OTP codes: sign-up and login verification through authentication category templates (see WhatsApp OTP).
  • Status updates: order shipped, tracking numbers, or ticket status changes.
  • Promotional messages to customers who have opted in, using marketing category templates.
  • Customer service: receiving incoming messages through callbacks and replying within the 24-hour window through the API or the Chats inbox.

How the Tanotif WhatsApp gateway works

  1. Connect your number with the Connect WhatsApp button in the dashboard. Meta's Embedded Signup pop-up guides you through choosing a Business Portfolio, creating or selecting a WhatsApp Business Account, and verifying your number.
  2. Create a template in the dashboard, for example Hi {{1}}, your order {{2}} has been shipped. The template is submitted to Meta for review. Once approved, the template gets a template_key.
  3. Get your access_key from the profile page and send it as the access_key header with every request.
  4. Call the endpoint POST /api/whatsapp/message/send with a list of recipients and their variables. A single request can contain up to 1,000 recipients.
  5. Receive statuses at your callback URL for every message: accepted by Meta, then sent, delivered, read, or failed.

Example request

Recipient numbers may be written with the prefix 08, 8, or 62; hyphens and spaces are removed automatically. The number of items in variables must match the number of variables in the template.

curl -X POST https://tanotif.com/api/whatsapp/message/send \
  -H "Content-Type: application/json" \
  -H "access_key: YOUR_ACCESS_KEY" \
  -d '{
    "template_key": "YOUR_TEMPLATE_KEY",
    "data": [
      { "recipient": "081234567890", "variables": ["Budi", "INV-1024"] },
      { "recipient": "6281298765432", "variables": ["Sari", "INV-1025"] }
    ]
  }'

If the request is accepted, the API responds with status 201 and a transaction_key for each recipient:

{
  "data": [
    { "transaction_key": "abc...", "recipient": "6281234567890" },
    { "transaction_key": "def...", "recipient": "6281298765432" }
  ],
  "message": "Bulk message in queue",
  "success": true
}

If your WhatsApp Business Account has more than one number, add phone_number_id to choose the sending number. Examples in Node.js, PHP, and Python are available in the documentation.

Available features

  • Connect your own WhatsApp Business number through Meta's Embedded Signup.
  • Send template messages to many numbers in a single request.
  • Templates with variables such as {{1}}, {{2}}, and so on, reviewed directly by Meta.
  • Per-message status callbacks (sent, delivered, read, failed) and incoming customer messages delivered to your server URL.
  • Reply to customers with text or files within 24 hours of their last message, via the API or the Chats inbox in the dashboard.
  • Transaction history in the dashboard and via the API.

Not yet available: sending interactive messages (buttons, lists).

Costs and Meta's rules

Tanotif charges a software subscription per plan (see Pricing). WhatsApp message fees are billed directly by Meta to the payment method in your WhatsApp Manager, based on the template category (marketing, utility, or authentication).

Because you are using the WhatsApp Business Platform, you must comply with WhatsApp Business policies: only message recipients who have opted in, use Meta-approved templates to start conversations, and maintain your number's quality rating. Messages that recipients frequently block or report can lower your number's messaging limits.

Frequently asked questions

What is a WhatsApp gateway?

A WhatsApp gateway is an intermediary service that receives requests from your application through an API and delivers them as WhatsApp messages to the recipient's number. With a gateway, your app can send automated notifications without a manual operator.

Does the Tanotif WhatsApp gateway use the WhatsApp Business Platform by Meta?

Yes. Tanotif is a Tech Provider for the WhatsApp Business Platform (Cloud API) by Meta. Your number and WhatsApp Business Account remain yours and are connected directly to Meta through Embedded Signup.

Are WhatsApp message fees included in the Tanotif subscription?

No. Tanotif charges a software subscription per plan. WhatsApp message fees are billed directly by Meta to the payment method in your WhatsApp Manager, based on the template category.

Is a WhatsApp gateway paid?

Usually, yes. Tanotif has a 14-day Free plan, then a Starter subscription at Rp25,000/month or Pro at Rp99,000/month (see the Pricing page). WhatsApp message fees are separate and billed directly by Meta based on the message category.

Which app is used for WhatsApp blasts?

WhatsApp blasts to many numbers can be sent through a WhatsApp gateway built on the WhatsApp Business Platform, such as Tanotif: one API request can hold up to 1,000 recipients using a template approved by Meta. Send only to recipients who have opted in to keep your number's quality rating healthy.

Which recipient number formats are accepted?

Indonesian numbers may start with 08, 8 or 62. Dashes and spaces are removed automatically, and the number is normalized to the 62 format.

Why was my request rejected with status 422?

Status 422 means the template cannot be used yet, for example it has not been approved by Meta, or no WhatsApp number is registered in that template's WhatsApp Business Account. Check the template and number status in the dashboard.