Skip to content
Available

Incoming webhook

Send us a JSON request and 24msg sends the WhatsApp message. Works with Zapier, Make, n8n or your own code.

Incoming webhook

sends an event

24msg rule

checks opt-in, fills the template

WhatsApp messageExample message

Hi Ayşe, we received your order 1001. Thank you!

the customer receives it

What your system can send

  • New order from your own shop
  • Booking confirmed or reminder
  • Payment received or failed
  • Form submitted or lead created

How to connect

  1. In your workspace open Integrations and add an incoming webhook.

  2. Copy the URL and the token. The token is shown once.

  3. Send a JSON POST from Zapier, Make, n8n or your code. Recent requests show up in your workspace so you can check them.

  4. Map the phone and fields to a template's variables, pick the template and switch the rule on.

Try it with curl

Replace the id and the token with the ones from your workspace.

Example request
curl -X POST "https://24msg.com/api/webhooks/integrations/<id>" \  -H "X-24msg-Token: <token>" \  -H "Content-Type: application/json" \  -d '{"id":"evt_1001","occurredAt":"2026-11-17T09:00:00Z","type":"custom.event",       "name":"order_ready","customer":{"phone":"+905551112233","email":null,       "name":"Ayşe","locale":"tr","marketingConsent":true},"data":{"order":{"no":"1001"}}}'

From JSON fields to template variables

In the rule, point the recipient phone and each template variable to a field in your JSON. A preview shows the message before you turn the rule on.

Your JSON

{
  "id": "evt_1",
  "phone": "+905551112233",
  "name": "Ayşe",
  "order": { "no": "1001" }
}

Rule mapping

  • $.phoneRecipient phone
  • $.name{{1}}
  • $.order.no{{2}}

Approved template

Hi {{1}}, we received your order {{2}}. Thank you!

Example message

Hi Ayşe, we received your order 1001. Thank you!

Good to know

Token
Sent in the X-24msg-Token header. Stored only as a hash and can be regenerated.
Body
JSON, up to 64 KB per request.
Repeats
An id or event_id field, or an Idempotency-Key header, keeps one event from being sent twice.
Rate
60 requests per minute per token.
Consent
Point the rule to a field that says the customer opted in, or send only to contacts whose consent is already recorded in 24msg.

Works with Zapier, Make and n8n

Send data from these tools to your incoming webhook URL. They are separate products owned by their makers.

  • Zapier
  • Make
  • n8n

“Works with” only describes how to connect. 24msg is not an official app or partner of these tools.

Only customers who opted in

Messages go only to customers who agreed to receive WhatsApp notifications. This is a Meta rule and 24msg enforces it: no opt-in, no message.

For developers

Build on the same blocks the app uses: send messages from your code and get events back on your server.

Open the developer docs
  • REST API

    Send messages and manage contacts and templates with API keys.

  • Signed webhooks

    Events are pushed to your server with a signature you can verify.

  • OpenAPI

    A machine-readable spec for generated clients and docs.

Questions

Do I need Zapier, Make or n8n?

No. Anything that can send an HTTP POST with JSON works: those tools, a script or your own server. Zapier, Make and n8n are separate products; 24msg has no official app in their directories.

How is the webhook protected?

Each webhook has its own secret token, sent in the X-24msg-Token header. It is shown once, stored only as a hash and can be regenerated. Requests are rate limited.

What if the same event arrives twice?

Include an id field (or an Idempotency-Key header). 24msg processes the same id once and reports the repeat as a duplicate.

Try it with your own number

Start free