{"id":18451,"date":"2026-11-19T00:01:02","date_gmt":"2026-11-18T18:31:02","guid":{"rendered":"https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/"},"modified":"2026-11-19T00:01:02","modified_gmt":"2026-11-18T18:31:02","slug":"whatsapp-webhook-incoming","status":"publish","type":"post","link":"https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/","title":{"rendered":"Receive incoming WhatsApp messages and button replies on your server (webhook)"},"content":{"rendered":"<p>To receive incoming WhatsApp messages and button replies on your own server, create a WhatsApp webhook in Fast2SMS with the event <strong>Incoming Messages<\/strong> and your URL. Every time a customer writes to your number, Fast2SMS posts the message to that URL: the sender, the text or media link, and which button they tapped. This guide shows the setup, a body template you can copy, and small receiver examples in PHP, Python and Node.js.<\/p>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Get WhatsApp replies on your server<\/strong><p>Send every incoming WhatsApp message and button tap to your CRM, chatbot or helpdesk in real time.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Before you start<\/h2>\n<ul>\n<li>A connected WhatsApp number in Fast2SMS.<\/li>\n<li>A public https URL on your server that accepts POST requests and answers with HTTP 200 within 10 seconds. Localhost and private IP addresses are not allowed.<\/li>\n<li>Incoming messages switched on for the number. If someone chose <strong>Disable Incoming Messages &amp; Webhooks<\/strong> in the number&#8217;s action menu in <strong>WhatsApp Manager<\/strong>, no webhook is sent for that number.<\/li>\n<\/ul>\n<h2>Set up the incoming message webhook<\/h2>\n<ol class=\"f2s-steps\">\n<li>\n<h3>Open the WhatsApp webhook page<\/h3>\n<p>Click <strong>Webhook<\/strong> under UTILITY in the WhatsApp menu, or go to the <strong>Webhook<\/strong> section and choose <strong>WhatsApp<\/strong>. You see your existing WhatsApp webhooks with their event, number and method. Click <strong>Add Webhook<\/strong>.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-edit-modal-whatsapp-hd-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"WhatsApp Webhook list with three webhooks, one named Incoming WhatsApp replies with Event RECEIVED, WhatsApp Number all and Method POST, status Active\"><figcaption>A webhook with Event RECEIVED gets incoming messages.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Choose the format<\/h3>\n<p>Enter a <strong>Webhook Name<\/strong>. In <strong>Select Format<\/strong> pick <strong>Standard Webhook<\/strong> to build your own body with placeholders. Pick <strong>META DIRECT<\/strong> if your code already reads Meta&#8217;s WhatsApp Cloud API webhook format; Fast2SMS then forwards Meta&#8217;s raw JSON with a <code>fast2sms_id<\/code> added.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-create-format-menu-hd-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"CREATE WEBHOOK (WHATSAPP) popup with the Select Format dropdown open showing Standard Webhook, CleverTap (WhatsApp) and META DIRECT\"><figcaption>Standard Webhook lets you design the body; META DIRECT forwards Meta&#8217;s format.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Select the Incoming Messages event<\/h3>\n<p>Open <strong>Select Event<\/strong> and pick <strong>Incoming Messages<\/strong>. Use <strong>Default All Events<\/strong> only if one URL should get both delivery updates and incoming messages. In <strong>Phone Number Id<\/strong> keep <strong>Default All<\/strong> or choose one number.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-create-event-menu-hd-1-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Select Event dropdown with Default All Events, On Sent, On Delivered, On Read, On Failed and Incoming Messages\"><figcaption>Incoming Messages is the last option in Select Event.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Enter the URL and body<\/h3>\n<p>Keep <strong>Method<\/strong> as POST and <strong>Content-Type<\/strong> as JSON. Paste your URL. In the <strong>Body<\/strong> tab, use the template below or edit the generated one. Type <code>{{<\/code> to pick a field.<\/p>\n<\/li>\n<li>\n<h3>Create and test<\/h3>\n<p>Leave <strong>Webhook Status (Active)<\/strong> on and click <strong>CREATE<\/strong>. Then open the row menu and use <strong>Test Webhook<\/strong>: it sends one request with sample values to your URL straight away. Finally send a WhatsApp message to your business number from your own phone and check <strong>Webhook Logs<\/strong>.<\/p>\n<\/li>\n<\/ol>\n<h2>A body template for incoming messages<\/h2>\n<pre><code class=\"language-json\">{\n  \"webhook_type\": \"{{webhook_type}}\",\n  \"message_id\": \"{{message_id}}\",\n  \"from\": \"{{from}}\",\n  \"phone_number_id\": \"{{phone_number_id}}\",\n  \"message_type\": \"{{message_type}}\",\n  \"body\": \"{{body}}\",\n  \"media_url\": \"{{media_url}}\",\n  \"mime_type\": \"{{mime_type}}\",\n  \"caption\": \"{{caption}}\",\n  \"context_message_id\": \"{{context_message_id}}\",\n  \"button_text\": \"{{button_text}}\",\n  \"button_payload\": \"{{button_payload}}\",\n  \"button_id\": \"{{button_id}}\",\n  \"button_title\": \"{{button_title}}\",\n  \"timestamp\": \"{{timestamp}}\"\n}<\/code><\/pre>\n<div class=\"f2s-facts\">\n<table>\n<thead>\n<tr>\n<th>Field<\/th>\n<th>What you get<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>webhook_type<\/code><\/td>\n<td><code>incoming_message<\/code> for a customer message, <code>status_update<\/code> for a delivery update<\/td>\n<\/tr>\n<tr>\n<td><code>message_id<\/code><\/td>\n<td>WhatsApp&#8217;s ID of the incoming message. Use it to send a reaction<\/td>\n<\/tr>\n<tr>\n<td><code>from<\/code><\/td>\n<td>The customer&#8217;s WhatsApp number<\/td>\n<\/tr>\n<tr>\n<td><code>message_type<\/code><\/td>\n<td>For example text, image, document, audio, video, sticker, location, button or a reply to an interactive message<\/td>\n<\/tr>\n<tr>\n<td><code>body<\/code><\/td>\n<td>The text. For image, document, audio, video and sticker messages it is the file link<\/td>\n<\/tr>\n<tr>\n<td><code>media_url<\/code>, <code>mime_type<\/code>, <code>caption<\/code><\/td>\n<td>The file link, file type and caption of a media message<\/td>\n<\/tr>\n<tr>\n<td><code>context_message_id<\/code><\/td>\n<td>Set when the customer replied to one of your messages: the ID of that message<\/td>\n<\/tr>\n<tr>\n<td><code>button_text<\/code>, <code>button_payload<\/code><\/td>\n<td>Filled when the customer taps a quick reply button on your template<\/td>\n<\/tr>\n<tr>\n<td><code>button_id<\/code>, <code>button_title<\/code><\/td>\n<td>Filled when the customer picks a reply button or list item in an interactive message<\/td>\n<\/tr>\n<tr>\n<td><code>timestamp<\/code><\/td>\n<td>Unix time of the message. Use it to track the 24-hour reply window<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"f2s-note\">\n<p>Want to know which template a button reply belongs to? Compare <code>context_message_id<\/code> with the WhatsApp message ID of your sent message. That ID is the <code>request_id<\/code> field in the status updates and the WhatsApp DLR API.<\/p>\n<\/div>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Turn replies into actions<\/strong><p>Route button taps to your order system, open tickets from complaints and reply by API, all from one WhatsApp number.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Receiver examples<\/h2>\n<p>Your endpoint should answer with HTTP 200 quickly and do any slow work afterwards. Fast2SMS waits at most 10 seconds.<\/p>\n<h3>PHP<\/h3>\n<pre><code class=\"language-php\">&lt;?php\n\/\/ whatsapp-webhook.php\n$event = json_decode(file_get_contents(\"php:\/\/input\"), true) ?? [];\nhttp_response_code(200);\necho \"ok\";\n\nif (($event[\"webhook_type\"] ?? \"\") === \"incoming_message\") {\n    $from = $event[\"from\"] ?? \"\";\n    $text = ($event[\"button_text\"] ?? \"\") ?: (($event[\"button_title\"] ?? \"\") ?: ($event[\"body\"] ?? \"\"));\n    file_put_contents(__DIR__ . \"\/incoming.log\", date(\"c\") . \" $from: $text\" . PHP_EOL, FILE_APPEND);\n}<\/code><\/pre>\n<h3>Python (Flask)<\/h3>\n<pre><code class=\"language-python\">from flask import Flask, request\n\napp = Flask(__name__)\n\n@app.post(\"\/fast2sms\/whatsapp\")\ndef whatsapp_webhook():\n    event = request.get_json(silent=True) or {}\n    if event.get(\"webhook_type\") == \"incoming_message\":\n        text = event.get(\"button_text\") or event.get(\"button_title\") or event.get(\"body\")\n        print(\"From\", event.get(\"from\"), \"type\", event.get(\"message_type\"), \"text\", text)\n        # save to your database or queue here\n    return \"ok\", 200<\/code><\/pre>\n<h3>Node.js (Express)<\/h3>\n<pre><code class=\"language-javascript\">import express from \"express\";\n\nconst app = express();\napp.use(express.json());\n\napp.post(\"\/fast2sms\/whatsapp\", (req, res) =&gt; {\n  res.sendStatus(200);\n  const event = req.body || {};\n  if (event.webhook_type === \"incoming_message\") {\n    const text = event.button_text || event.button_title || event.body;\n    console.log(\"From\", event.from, \"type\", event.message_type, \"text\", text);\n  }\n});\n\napp.listen(3000);<\/code><\/pre>\n<p>To answer the customer, call the session message API within 24 hours. See <a href=\"\/help\/whatsapp-api-session-message\/\">WhatsApp session message API<\/a>.<\/p>\n<h2>Check that your endpoint is safe<\/h2>\n<ul>\n<li><strong>Add your own secret header.<\/strong> In the <strong>Headers<\/strong> tab of the webhook, add a header such as <code>X-Webhook-Token<\/code> with a long random value, and reject requests without it.<\/li>\n<li><strong>webhook_secret_key.<\/strong> If the webhook signature setting is on for your account, every request also carries the header <code>webhook_secret_key<\/code>. It is a plain shared secret, not an HMAC, so compare it with your saved value.<\/li>\n<li><strong>Use https<\/strong> so message text is encrypted on the way to your server.<\/li>\n<\/ul>\n<h2>Common problems and fixes<\/h2>\n<h3>Delivery updates arrive but incoming messages do not<\/h3>\n<p>The webhook&#8217;s event is On Sent, On Delivered, On Read or On Failed. Edit it and choose <strong>Incoming Messages<\/strong> or <strong>Default All Events<\/strong>.<\/p>\n<h3>Nothing arrives for one number<\/h3>\n<p>Check the webhook&#8217;s <strong>Phone Number Id<\/strong>: if it is set to another number, messages to this one are skipped. Also check that incoming messages are not disabled together with webhooks for that number.<\/p>\n<h3>Webhook Logs show HTTP 0 or a timeout<\/h3>\n<p>Your server did not answer within 10 seconds. Return 200 first, then process. Network errors, timeouts, HTTP 408, 429 and 5xx are retried up to 3 times, 60 seconds apart.<\/p>\n<h3>Webhook Logs show HTTP 404 or 401<\/h3>\n<p>The path is wrong or your server asked for a login. These are not retried. Fix the URL, then use <strong>Resend Webhook<\/strong> on the log row. Each row can be resent once, and logs are kept for 7 days.<\/p>\n<h3>The media link stops working later<\/h3>\n<p>Download and store files you need to keep. In Live Chat, media files are available for 30 days only.<\/p>\n<section class=\"f2s-faq\">\n<h2>Frequently asked questions<\/h2>\n<h3>Can I get WhatsApp replies on my own server?<\/h3>\n<p>Yes. Create a WhatsApp webhook with the event Incoming Messages and your public URL. Each customer message is posted to it.<\/p>\n<h3>Do incoming messages still show in Live Chat?<\/h3>\n<p>Yes, unless incoming messages are disabled for that number. The webhook and the inbox work side by side.<\/p>\n<h3>Is receiving messages charged?<\/h3>\n<p>No. Incoming WhatsApp messages are free. Your replies are charged as session messages or templates.<\/p>\n<h3>How many webhooks can I create for WhatsApp?<\/h3>\n<p>Up to 10 per service, so you can send incoming messages and delivery updates to different URLs.<\/p>\n<h3>Can I get Meta&#8217;s original webhook JSON?<\/h3>\n<p>Yes. Choose the META DIRECT format. Fast2SMS forwards Meta&#8217;s webhook body and adds <code>fast2sms_id<\/code>.<\/p>\n<h3>Can I create this webhook by API?<\/h3>\n<p>Yes, with <code>POST \/dev\/webhook\/v2\/whatsapp<\/code> and <code>event=received<\/code>. See <a href=\"\/help\/webhook-api-manage\/\">manage webhooks by API<\/a>.<\/p>\n<\/section>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Connect WhatsApp to your systems<\/strong><p>Sign up for Fast2SMS and stream every WhatsApp message and status to your own URL.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Related guides<\/h2>\n<ul>\n<li><a href=\"\/help\/fast2sms-webhooks-setup-delivery-reports\/\">Webhooks in Fast2SMS: delivery reports on your URL<\/a><\/li>\n<li><a href=\"\/help\/whatsapp-template-buttons-guide\/\">WhatsApp template buttons guide<\/a><\/li>\n<li><a href=\"\/help\/whatsapp-live-chat-inbox-fast2sms\/\">WhatsApp Live Chat inbox in Fast2SMS<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/whatsapp-chatbot-api\/\">WhatsApp chatbot API with webhooks and session messages<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/how-webhooks-work\/\">How webhooks work<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>To receive incoming WhatsApp messages and button replies on your own server, create a WhatsApp webhook in Fast2SMS with the event Incoming Messages and your URL. Every time a customer writes to your number, Fast2SMS posts the message to that URL: the sender, the text or media link, and which button they tapped. This guide [&hellip;]<\/p>\n","protected":false},"featured_media":18446,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,31,24],"tags":[],"class_list":["post-18451","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api","category-webhooks","category-whatsapp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Incoming WhatsApp Message Webhook Setup | Fast2SMS<\/title>\n<meta name=\"description\" content=\"Get incoming WhatsApp messages and button replies on your server with a Fast2SMS webhook: setup, body template, field list and PHP, Python, Node receivers.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Incoming WhatsApp Message Webhook Setup | Fast2SMS\" \/>\n<meta property=\"og:description\" content=\"Get incoming WhatsApp messages and button replies on your server with a Fast2SMS webhook: setup, body template, field list and PHP, Python, Node receivers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/\" \/>\n<meta property=\"og:site_name\" content=\"Fast2SMS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Fast2SMS\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-18T18:31:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-edit-modal-whatsapp-hd-scaled.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@fast2sms\" \/>\n<meta name=\"twitter:site\" content=\"@fast2sms\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-webhook-incoming\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-webhook-incoming\\\/\"},\"author\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"headline\":\"Receive incoming WhatsApp messages and button replies on your server (webhook)\",\"datePublished\":\"2026-11-18T18:31:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-webhook-incoming\\\/\"},\"wordCount\":1115,\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-webhook-incoming\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/webhook-edit-modal-whatsapp-hd-scaled.webp\",\"articleSection\":[\"API\",\"Webhooks\",\"WhatsApp\"],\"inLanguage\":\"en-IN\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-webhook-incoming\\\/\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-webhook-incoming\\\/\",\"name\":\"Incoming WhatsApp Message Webhook Setup | Fast2SMS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-webhook-incoming\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-webhook-incoming\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/webhook-edit-modal-whatsapp-hd-scaled.webp\",\"datePublished\":\"2026-11-18T18:31:02+00:00\",\"description\":\"Get incoming WhatsApp messages and button replies on your server with a Fast2SMS webhook: setup, body template, field list and PHP, Python, Node receivers.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-webhook-incoming\\\/#breadcrumb\"},\"inLanguage\":\"en-IN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-webhook-incoming\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-IN\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-webhook-incoming\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/webhook-edit-modal-whatsapp-hd-scaled.webp\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/webhook-edit-modal-whatsapp-hd-scaled.webp\",\"width\":2560,\"height\":1600,\"caption\":\"WhatsApp Webhook list with three webhooks, one named Incoming WhatsApp replies with Event RECEIVED, WhatsApp Number all and Method POST, status Active\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-webhook-incoming\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/api\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Receive incoming WhatsApp messages and button replies on your server (webhook)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/\",\"name\":\"Fast2SMS\",\"description\":\"Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"inLanguage\":\"en-IN\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\",\"name\":\"Fast2SMS\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#logo\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/Fast2SMS.png\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/Fast2SMS.png\",\"caption\":\"Fast2SMS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#logo\"},\"email\":\"support@fast2sms.com\",\"telephone\":\"+91-6262778822\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Fast2SMS\",\"https:\\\/\\\/www.instagram.com\\\/fast2sms\",\"https:\\\/\\\/x.com\\\/fast2sms\",\"https:\\\/\\\/www.youtube.com\\\/Fast2SMSofficial\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/fast2sms\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Incoming WhatsApp Message Webhook Setup | Fast2SMS","description":"Get incoming WhatsApp messages and button replies on your server with a Fast2SMS webhook: setup, body template, field list and PHP, Python, Node receivers.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/","og_locale":"en_US","og_type":"article","og_title":"Incoming WhatsApp Message Webhook Setup | Fast2SMS","og_description":"Get incoming WhatsApp messages and button replies on your server with a Fast2SMS webhook: setup, body template, field list and PHP, Python, Node receivers.","og_url":"https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/","og_site_name":"Fast2SMS","article_publisher":"https:\/\/www.facebook.com\/Fast2SMS\/","article_published_time":"2026-11-18T18:31:02+00:00","og_image":[{"width":2560,"height":1600,"url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-edit-modal-whatsapp-hd-scaled.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_creator":"@fast2sms","twitter_site":"@fast2sms","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/#article","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/"},"author":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"headline":"Receive incoming WhatsApp messages and button replies on your server (webhook)","datePublished":"2026-11-18T18:31:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/"},"wordCount":1115,"publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-edit-modal-whatsapp-hd-scaled.webp","articleSection":["API","Webhooks","WhatsApp"],"inLanguage":"en-IN"},{"@type":"WebPage","@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/","url":"https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/","name":"Incoming WhatsApp Message Webhook Setup | Fast2SMS","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/#primaryimage"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-edit-modal-whatsapp-hd-scaled.webp","datePublished":"2026-11-18T18:31:02+00:00","description":"Get incoming WhatsApp messages and button replies on your server with a Fast2SMS webhook: setup, body template, field list and PHP, Python, Node receivers.","breadcrumb":{"@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/#breadcrumb"},"inLanguage":"en-IN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/"]}]},{"@type":"ImageObject","inLanguage":"en-IN","@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/#primaryimage","url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-edit-modal-whatsapp-hd-scaled.webp","contentUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-edit-modal-whatsapp-hd-scaled.webp","width":2560,"height":1600,"caption":"WhatsApp Webhook list with three webhooks, one named Incoming WhatsApp replies with Event RECEIVED, WhatsApp Number all and Method POST, status Active"},{"@type":"BreadcrumbList","@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-webhook-incoming\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fast2sms.com\/help\/"},{"@type":"ListItem","position":2,"name":"API","item":"https:\/\/www.fast2sms.com\/help\/api\/"},{"@type":"ListItem","position":3,"name":"Receive incoming WhatsApp messages and button replies on your server (webhook)"}]},{"@type":"WebSite","@id":"https:\/\/www.fast2sms.com\/help\/#website","url":"https:\/\/www.fast2sms.com\/help\/","name":"Fast2SMS","description":"Help","publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"inLanguage":"en-IN"},{"@type":"Organization","@id":"https:\/\/www.fast2sms.com\/#organization","name":"Fast2SMS","url":"https:\/\/www.fast2sms.com\/","logo":{"@type":"ImageObject","@id":"https:\/\/www.fast2sms.com\/#logo","url":"https:\/\/www.fast2sms.com\/Fast2SMS.png","contentUrl":"https:\/\/www.fast2sms.com\/Fast2SMS.png","caption":"Fast2SMS"},"image":{"@id":"https:\/\/www.fast2sms.com\/#logo"},"email":"support@fast2sms.com","telephone":"+91-6262778822","sameAs":["https:\/\/www.facebook.com\/Fast2SMS","https:\/\/www.instagram.com\/fast2sms","https:\/\/x.com\/fast2sms","https:\/\/www.youtube.com\/Fast2SMSofficial","https:\/\/www.linkedin.com\/company\/fast2sms"]}]}},"_links":{"self":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/18451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/comments?post=18451"}],"version-history":[{"count":0,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/18451\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media\/18446"}],"wp:attachment":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media?parent=18451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/categories?post=18451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/tags?post=18451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}