Skip to content
Get started
Esc
WhatsApp

Channels

Updated 4 December 2026

Connecting

  • The number connects on the workspace's Channels page by signing in to Meta, or the client connects it with a connect link.
  • The number may stay in the WhatsApp Business app on the phone too. Then people write from the phone as well, such messages come with sent_by: phone, and whatsapp.shared_with_phone_app in ⁠GET /v1/channels is true.

Receiving a message

  • When a customer writes, the message.received event comes to the webhook address.
  • from is the customer's number in E.164.
  • A file in the message downloads with ⁠GET /v1/media/{id}, the id being media.id from the event.
JSON
{
    "type": "message.received",
    "timestamp": "2026-10-09T09:30:00+00:00",
    "workspace": {
        "id": "0199c5e2-0d4b-7e21-a3f6-8c2b1e7d9a40",
        "name": "Smile Clinic"
    },
    "data": {
        "id": "0199c5e2-6a29-7b40-8e0d-2f1c3a4b5d6e",
        "contact_id": "0199c5e2-1f0a-7a42-8d1e-5b7c9a2e4f10",
        "from": "+77011234567",
        "name": "Asel",
        "channel": "whatsapp",
        "type": "text",
        "text": {
            "body": "Hello! When will my order be ready?"
        },
        "received_at": "2026-10-09T09:30:00+00:00",
        "free_text_until": "2026-10-10T09:30:00+00:00"
    }
}

Replying

  • You may reply within 24 h of the customer's last message, later the reply gets outside_window.
  • Put the customer's number in E.164 in to.
  • Photos, videos and audio by a url link or uploaded with ⁠POST /v1/media. A voice note is OGG with the Opus codec, its link ending in .ogg or .opus.

Free text reaches a customer only within 24 hours of their last message. After that, send a template Meta has approved.

Writing first

  • Free text can be sent only if the customer wrote to you in the last 24 hours. Otherwise the response is 422 outside_window, and you need a template.
  • A template can be sent at any time, but only one Meta approved. ⁠GET /v1/templates lists them.
  • A template to a number that has not written needs the customer's consent: first ⁠POST /v1/contacts/{phone}/consent. Without consent the response is 422 no_consent.
  • You may not write first to a customer who asked not to be written to (opted_out).

Statuses

  • Statuses come as the message.status event: sent → delivered → read.

Limits

  • Messages leave the number no faster than Meta allows: up to 80 a second, or 20 for a number that stays in the WhatsApp Business app too. The rest wait their turn and go in order. Then the response is 202 with status queued, and message.status webhooks and ⁠GET /v1/messages/{id} tell the rest. When Meta asks to send less often, we try again after a pause ourselves.
  • A number may write first to as many new customers as its Meta tier allows: from 50 to 100,000 customers in a rolling 24 hours. limits.new_customers_per_day in ⁠GET /v1/channels shows how many now, and a send beyond it gets messaging_limit. Replies to those who wrote to you in the last 24 hours may go beyond the limit.

Meta billing

  • Meta charges for messages itself, to the card added to the WhatsApp account at Meta. We take no money for messages.
  • Without a working card Meta sends nothing: sends get meta_payment, and payment appears in alerts in ⁠GET /v1/channels.