{"id":18285,"date":"2026-11-18T23:54:48","date_gmt":"2026-11-18T18:24:48","guid":{"rendered":"https:\/\/www.fast2sms.com\/help\/whatsapp-api-session-message\/"},"modified":"2026-11-19T00:57:08","modified_gmt":"2026-11-18T19:27:08","slug":"whatsapp-api-session-message","status":"publish","type":"post","link":"https:\/\/www.fast2sms.com\/help\/whatsapp-api-session-message\/","title":{"rendered":"WhatsApp session message API: reply to customers within 24 hours"},"content":{"rendered":"<p>When a customer writes to your WhatsApp number, you can reply with any text, image, video, audio, document, location or reaction for the next 24 hours. With Fast2SMS you send these replies by API through <code>https:\/\/www.fast2sms.com\/dev\/whatsapp-session<\/code>, no template needed. This guide explains the 24-hour rule, every parameter, the file limits and ready code for cURL, 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\">Reply to WhatsApp chats from your own app<\/strong><p>Use the Fast2SMS session message API to answer customers with text, images and documents within 24 hours.<\/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>The 24-hour rule in short<\/h2>\n<p>WhatsApp opens a 24-hour customer service window each time the customer sends you a message. Inside that window you can send free-form session messages. After 24 hours with no new message from the customer, you can only send an approved template. Read more in <a href=\"\/help\/message-customer-after-24-hours-whatsapp\/\">how to message a customer after 24 hours<\/a>.<\/p>\n<div class=\"f2s-note f2s-note--warn\">\n<p>The API does not stop you from sending outside the window. WhatsApp itself rejects such a message, and it shows as Failed in your report with Meta&#8217;s re-engagement <a href=\"\/help\/whatsapp-error-131047-re-engagement-message\/\">error 131047<\/a>. Failed messages are refunded automatically. Track the customer&#8217;s last message time on your side, or use a template when in doubt.<\/p>\n<\/div>\n<h2>Before you start<\/h2>\n<ul>\n<li>A WhatsApp number with the status <strong>Connected<\/strong>, and its <strong>Phone Number ID<\/strong> from <strong>WhatsApp Manager<\/strong>, <strong>Numbers<\/strong>.<\/li>\n<li>Your <a href=\"\/help\/api-key-find-reset\/\">API key<\/a> from <strong>API Key<\/strong>.<\/li>\n<li>Incoming messages reaching your server, so you know who wrote and when. Set this up with a WhatsApp <a href=\"\/help\/fast2sms-webhooks-setup-delivery-reports\/\">webhook<\/a>; see <a href=\"\/help\/whatsapp-webhook-incoming\/\">receive incoming WhatsApp messages on your server<\/a>.<\/li>\n<\/ul>\n<h2>Send a session message step by step<\/h2>\n<ol class=\"f2s-steps\">\n<li>\n<h3>Download the session API samples<\/h3>\n<p>Go to <strong>Account Setting<\/strong>, <strong>API Excel<\/strong>, and pick <strong>WhatsApp<\/strong>. Click <strong>Download Session API<\/strong>. The Excel has one row per connected number and message type (text, image, document, audio, video, location, sticker, reaction) with a sample URL and the file rules.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/whatsapp-api-excel-2x-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"API Excel page with the WhatsApp tab selected and the WhatsApp Session API Excel card with a Download Session API button\"><figcaption>Download Session API gives sample requests for each message type.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Pick the type and build the request<\/h3>\n<p>Send <code>phone_number_id<\/code>, the customer&#8217;s number in <code>to<\/code>, the <code>type<\/code> and the fields that type needs (table below). Put your key in the <code>authorization<\/code> header.<\/p>\n<\/li>\n<li>\n<h3>Read the response<\/h3>\n<p>Success looks like this. Save the <code>request_id<\/code> to look up the status later.<\/p>\n<pre><code class=\"language-json\">{\"return\":true,\"request_id\":\"Wa1B2c3D4e5F6g7\",\"message\":[\"Whatsapp Message sent successfully.\"]}<\/code><\/pre>\n<\/li>\n<li>\n<h3>Watch the status<\/h3>\n<p>Sent, delivered, read and failed updates come through the WhatsApp delivery report, the DLR API and your webhook. See <a href=\"\/help\/whatsapp-api-delivery-report\/\">WhatsApp delivery and read status by API<\/a>.<\/p>\n<\/li>\n<\/ol>\n<h2>Parameters<\/h2>\n<div class=\"f2s-facts\">\n<table>\n<thead>\n<tr>\n<th>Parameter<\/th>\n<th>When<\/th>\n<th>Rules<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>phone_number_id<\/code><\/td>\n<td>Always (or <code>display_number<\/code>)<\/td>\n<td>The connected number that replies. Phone Number ID is the safer choice<\/td>\n<\/tr>\n<tr>\n<td><code>to<\/code><\/td>\n<td>Always<\/td>\n<td>The customer&#8217;s Indian mobile, 10 digits, with or without 91<\/td>\n<\/tr>\n<tr>\n<td><code>type<\/code><\/td>\n<td>Optional<\/td>\n<td><code>text<\/code> (default), <code>image<\/code>, <code>video<\/code>, <code>audio<\/code>, <code>document<\/code>, <code>sticker<\/code>, <code>location<\/code>, <code>reaction<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>text<\/code><\/td>\n<td>type=text<\/td>\n<td>Up to 4,096 characters<\/td>\n<\/tr>\n<tr>\n<td><code>url<\/code><\/td>\n<td>image, video, audio, document, sticker<\/td>\n<td>Public link to the file<\/td>\n<\/tr>\n<tr>\n<td><code>caption<\/code><\/td>\n<td>Optional for media<\/td>\n<td>Up to 1,024 characters<\/td>\n<\/tr>\n<tr>\n<td><code>document_filename<\/code><\/td>\n<td>type=document<\/td>\n<td>Required. The file name the customer sees<\/td>\n<\/tr>\n<tr>\n<td><code>latitude<\/code>, <code>longitude<\/code><\/td>\n<td>type=location<\/td>\n<td>Required. Add <code>name<\/code> and <code>address<\/code> if you like<\/td>\n<\/tr>\n<tr>\n<td><code>message_id<\/code>, <code>emoji<\/code><\/td>\n<td>type=reaction<\/td>\n<td>The WhatsApp message ID of the customer&#8217;s message (from the incoming webhook) and the emoji<\/td>\n<\/tr>\n<tr>\n<td><code>udf1<\/code> to <code>udf3<\/code><\/td>\n<td>Optional<\/td>\n<td>Your own tracking values<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>File types and sizes for media replies<\/h2>\n<div class=\"f2s-facts\">\n<table>\n<thead>\n<tr>\n<th>type<\/th>\n<th>Formats<\/th>\n<th>Max size<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>image<\/td>\n<td>JPEG, PNG<\/td>\n<td>5 MB<\/td>\n<\/tr>\n<tr>\n<td>video<\/td>\n<td>MP4, 3GP<\/td>\n<td>16 MB<\/td>\n<\/tr>\n<tr>\n<td>audio<\/td>\n<td>AAC, MP4 audio, MP3, AMR, OGG<\/td>\n<td>16 MB<\/td>\n<\/tr>\n<tr>\n<td>document<\/td>\n<td>PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, TXT<\/td>\n<td>100 MB<\/td>\n<\/tr>\n<tr>\n<td>sticker<\/td>\n<td>WebP<\/td>\n<td>100 KB<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Fast2SMS checks the link before sending. If the server does not answer, you get &#8220;Unable to reach the media URL provided.&#8221; A wrong file type or size gets a clear message that names the allowed formats or the limit.<\/p>\n<h2>Code examples<\/h2>\n<h3>Text reply (cURL)<\/h3>\n<pre><code class=\"language-bash\">curl -X POST \"https:\/\/www.fast2sms.com\/dev\/whatsapp-session\" \\\n  -H \"authorization: YOUR_API_KEY\" \\\n  -H \"Content-Type: application\/json\" \\\n  -d '{\"phone_number_id\":\"100000000000002\",\"to\":\"9999999999\",\"type\":\"text\",\n       \"text\":\"Hi Rahul, your replacement jar will reach you by Friday.\"}'<\/code><\/pre>\n<h3>Image with caption (cURL)<\/h3>\n<pre><code class=\"language-bash\">curl -X POST \"https:\/\/www.fast2sms.com\/dev\/whatsapp-session\" \\\n  -H \"authorization: YOUR_API_KEY\" \\\n  -H \"Content-Type: application\/json\" \\\n  -d '{\"phone_number_id\":\"100000000000002\",\"to\":\"9999999999\",\"type\":\"image\",\n       \"url\":\"https:\/\/example.com\/catalogue\/jar.jpg\",\"caption\":\"This is the new jar we are sending.\"}'<\/code><\/pre>\n<h3>Document (cURL)<\/h3>\n<pre><code class=\"language-bash\">curl -X POST \"https:\/\/www.fast2sms.com\/dev\/whatsapp-session\" \\\n  -H \"authorization: YOUR_API_KEY\" \\\n  -H \"Content-Type: application\/json\" \\\n  -d '{\"phone_number_id\":\"100000000000002\",\"to\":\"9999999999\",\"type\":\"document\",\n       \"url\":\"https:\/\/example.com\/invoices\/INV-1042.pdf\",\"document_filename\":\"Invoice INV-1042.pdf\"}'<\/code><\/pre>\n<h3>Location (cURL)<\/h3>\n<pre><code class=\"language-bash\">curl -X POST \"https:\/\/www.fast2sms.com\/dev\/whatsapp-session\" \\\n  -H \"authorization: YOUR_API_KEY\" \\\n  -H \"Content-Type: application\/json\" \\\n  -d '{\"phone_number_id\":\"100000000000002\",\"to\":\"9999999999\",\"type\":\"location\",\n       \"latitude\":18.5204,\"longitude\":73.8567,\"name\":\"Demo Traders\",\"address\":\"12 Demo Market, Pune\"}'<\/code><\/pre>\n<h3>PHP<\/h3>\n<pre><code class=\"language-php\">&lt;?php\nfunction sendSessionReply(array $msg): array {\n    $ch = curl_init(\"https:\/\/www.fast2sms.com\/dev\/whatsapp-session\");\n    curl_setopt_array($ch, [\n        CURLOPT_POST           =&gt; true,\n        CURLOPT_RETURNTRANSFER =&gt; true,\n        CURLOPT_HTTPHEADER     =&gt; [\"authorization: YOUR_API_KEY\", \"Content-Type: application\/json\"],\n        CURLOPT_POSTFIELDS     =&gt; json_encode($msg),\n        CURLOPT_TIMEOUT        =&gt; 30,\n    ]);\n    $data = json_decode(curl_exec($ch), true);\n    curl_close($ch);\n    return $data ?? [];\n}\n\n$res = sendSessionReply([\n    \"phone_number_id\" =&gt; \"100000000000002\",\n    \"to\"              =&gt; \"9999999999\",\n    \"type\"            =&gt; \"text\",\n    \"text\"            =&gt; \"Thanks for writing to Demo Traders. How can we help?\",\n]);\necho ($res[\"return\"] ?? false) === true ? $res[\"request_id\"] : json_encode($res);<\/code><\/pre>\n<h3>Python<\/h3>\n<pre><code class=\"language-python\">import requests\n\ndef send_session_reply(msg):\n    r = requests.post(\"https:\/\/www.fast2sms.com\/dev\/whatsapp-session\",\n                      headers={\"authorization\": \"YOUR_API_KEY\"}, json=msg, timeout=30)\n    return r.json()\n\nres = send_session_reply({\n    \"phone_number_id\": \"100000000000002\",\n    \"to\": \"9999999999\",\n    \"type\": \"text\",\n    \"text\": \"Thanks for writing to Demo Traders. How can we help?\",\n})\nprint(res.get(\"request_id\") if res.get(\"return\") else res.get(\"errors\"))<\/code><\/pre>\n<h3>Node.js<\/h3>\n<pre><code class=\"language-javascript\">async function sendSessionReply(msg) {\n  const res = await fetch(\"https:\/\/www.fast2sms.com\/dev\/whatsapp-session\", {\n    method: \"POST\",\n    headers: { authorization: process.env.FAST2SMS_API_KEY, \"Content-Type\": \"application\/json\" },\n    body: JSON.stringify(msg),\n  });\n  return res.json();\n}\n\nconst res = await sendSessionReply({\n  phone_number_id: \"100000000000002\",\n  to: \"9999999999\",\n  type: \"text\",\n  text: \"Thanks for writing to Demo Traders. How can we help?\",\n});\nconsole.log(res.return === true ? res.request_id : res.errors);<\/code><\/pre>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Build a WhatsApp support flow<\/strong><p>Receive messages by webhook, reply by API and keep the Live Chat inbox for your team, all on one 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>Charges<\/h2>\n<p>Each session message you send is charged at your WhatsApp session rate. At the time of writing the panel shows \u20b90.13 per outgoing session message, and incoming messages are free. Your own rate is shown in the wallet dropdown and on the <a href=\"https:\/\/www.fast2sms.com\/whatsapp-pricing\">WhatsApp pricing page<\/a>. A session message that fails is refunded with the other failed WhatsApp messages; see <a href=\"\/help\/whatsapp-failed-message-charges-refund\/\">WhatsApp failed message charges and refunds<\/a>.<\/p>\n<div class=\"f2s-note f2s-volume\"><p><strong>Sending in bulk?<\/strong> For high WhatsApp volumes our team offers discounted rates. <a href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Talk to our team<\/a> or see <a href=\"https:\/\/www.fast2sms.com\/whatsapp-pricing\">WhatsApp pricing<\/a>.<\/p><\/div>\n<h2>Common problems and fixes<\/h2>\n<h3>&#8220;WhatsApp number not found or not connected.&#8221;<\/h3>\n<p>The <code>phone_number_id<\/code> (or <code>display_number<\/code>) does not match a Connected number in your account. Copy the Phone Number ID again from <strong>Numbers<\/strong>.<\/p>\n<h3>&#8220;Invalid mobile number format.&#8221; or &#8220;Mobile Number format is invalid.&#8221;<\/h3>\n<p>Send the customer&#8217;s 10-digit Indian mobile number, with or without 91. One number per request.<\/p>\n<h3>&#8220;The &#8216;text&#8217; field is required for text messages.&#8221;<\/h3>\n<p>Type defaults to text. Send <code>text<\/code>, or set <code>type<\/code> to the media type you mean.<\/p>\n<h3>&#8220;The &#8216;document_filename&#8217; field is required for document messages.&#8221;<\/h3>\n<p>Add a file name such as &#8220;Invoice INV-1042.pdf&#8221;.<\/p>\n<h3>The API said success but the message failed<\/h3>\n<p>Most often the 24-hour window had closed (error 131047). Send an approved template instead. Other reasons are listed in <a href=\"\/help\/whatsapp-api-error-codes-list\/\">WhatsApp API error codes<\/a>.<\/p>\n<section class=\"f2s-faq\">\n<h2>Frequently asked questions<\/h2>\n<h3>What is a WhatsApp session message?<\/h3>\n<p>A free-form message you send within 24 hours of the customer&#8217;s last message. It needs no template approval.<\/p>\n<h3>Can I start a conversation with a session message?<\/h3>\n<p>No. To message someone first, or after 24 hours, you must send an approved template.<\/p>\n<h3>Can I send buttons in a session reply?<\/h3>\n<p>Not with this simple API at the time of writing. It supports text, image, video, audio, document, sticker, location and reaction.<\/p>\n<h3>How do I know when the customer last wrote?<\/h3>\n<p>Set up a WhatsApp webhook with the Incoming Messages event. Each incoming message reaches your server with a timestamp, so you can track the 24-hour window.<\/p>\n<h3>Can I reply to international numbers?<\/h3>\n<p>Not with this API at the time of writing. The <code>to<\/code> number must be an Indian mobile.<\/p>\n<\/section>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Start answering customers on WhatsApp<\/strong><p>Sign up for Fast2SMS, connect your WhatsApp number and reply from your app, chatbot or Live Chat.<\/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\/message-customer-after-24-hours-whatsapp\/\">Message a customer after 24 hours on WhatsApp<\/a><\/li>\n<li><a href=\"\/help\/whatsapp-free-vs-paid-messages\/\">WhatsApp free vs paid messages<\/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\/whatsapp-api\">Fast2SMS WhatsApp API<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>When a customer writes to your WhatsApp number, you can reply with any text, image, video, audio, document, location or reaction for the next 24 hours. With Fast2SMS you send these replies by API through https:\/\/www.fast2sms.com\/dev\/whatsapp-session, no template needed. This guide explains the 24-hour rule, every parameter, the file limits and ready code for cURL, [&hellip;]<\/p>\n","protected":false},"featured_media":18284,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,24],"tags":[],"class_list":["post-18285","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api","category-whatsapp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>WhatsApp Session Message API (24-Hour Reply) | Fast2SMS<\/title>\n<meta name=\"description\" content=\"Reply to WhatsApp customers within 24 hours by API: text, image, PDF, location and reaction, with file limits, charges and code in PHP, Python and Node.js.\" \/>\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-api-session-message\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WhatsApp Session Message API (24-Hour Reply) | Fast2SMS\" \/>\n<meta property=\"og:description\" content=\"Reply to WhatsApp customers within 24 hours by API: text, image, PDF, location and reaction, with file limits, charges and code in PHP, Python and Node.js.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fast2sms.com\/help\/whatsapp-api-session-message\/\" \/>\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:24:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-18T19:27:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/whatsapp-api-excel-2x-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-api-session-message\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-api-session-message\\\/\"},\"author\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"headline\":\"WhatsApp session message API: reply to customers within 24 hours\",\"datePublished\":\"2026-11-18T18:24:48+00:00\",\"dateModified\":\"2026-11-18T19:27:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-api-session-message\\\/\"},\"wordCount\":1001,\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-api-session-message\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/whatsapp-api-excel-2x-scaled.webp\",\"articleSection\":[\"API\",\"WhatsApp\"],\"inLanguage\":\"en-IN\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-api-session-message\\\/\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-api-session-message\\\/\",\"name\":\"WhatsApp Session Message API (24-Hour Reply) | Fast2SMS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-api-session-message\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-api-session-message\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/whatsapp-api-excel-2x-scaled.webp\",\"datePublished\":\"2026-11-18T18:24:48+00:00\",\"dateModified\":\"2026-11-18T19:27:08+00:00\",\"description\":\"Reply to WhatsApp customers within 24 hours by API: text, image, PDF, location and reaction, with file limits, charges and code in PHP, Python and Node.js.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-api-session-message\\\/#breadcrumb\"},\"inLanguage\":\"en-IN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-api-session-message\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-IN\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-api-session-message\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/whatsapp-api-excel-2x-scaled.webp\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/whatsapp-api-excel-2x-scaled.webp\",\"width\":2560,\"height\":1600,\"caption\":\"API Excel page with the WhatsApp tab selected and the WhatsApp Session API Excel card with a Download Session API button\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/whatsapp-api-session-message\\\/#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\":\"WhatsApp session message API: reply to customers within 24 hours\"}]},{\"@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":"WhatsApp Session Message API (24-Hour Reply) | Fast2SMS","description":"Reply to WhatsApp customers within 24 hours by API: text, image, PDF, location and reaction, with file limits, charges and code in PHP, Python and Node.js.","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-api-session-message\/","og_locale":"en_US","og_type":"article","og_title":"WhatsApp Session Message API (24-Hour Reply) | Fast2SMS","og_description":"Reply to WhatsApp customers within 24 hours by API: text, image, PDF, location and reaction, with file limits, charges and code in PHP, Python and Node.js.","og_url":"https:\/\/www.fast2sms.com\/help\/whatsapp-api-session-message\/","og_site_name":"Fast2SMS","article_publisher":"https:\/\/www.facebook.com\/Fast2SMS\/","article_published_time":"2026-11-18T18:24:48+00:00","article_modified_time":"2026-11-18T19:27:08+00:00","og_image":[{"width":2560,"height":1600,"url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/whatsapp-api-excel-2x-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-api-session-message\/#article","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-api-session-message\/"},"author":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"headline":"WhatsApp session message API: reply to customers within 24 hours","datePublished":"2026-11-18T18:24:48+00:00","dateModified":"2026-11-18T19:27:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-api-session-message\/"},"wordCount":1001,"publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-api-session-message\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/whatsapp-api-excel-2x-scaled.webp","articleSection":["API","WhatsApp"],"inLanguage":"en-IN"},{"@type":"WebPage","@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-api-session-message\/","url":"https:\/\/www.fast2sms.com\/help\/whatsapp-api-session-message\/","name":"WhatsApp Session Message API (24-Hour Reply) | Fast2SMS","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-api-session-message\/#primaryimage"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-api-session-message\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/whatsapp-api-excel-2x-scaled.webp","datePublished":"2026-11-18T18:24:48+00:00","dateModified":"2026-11-18T19:27:08+00:00","description":"Reply to WhatsApp customers within 24 hours by API: text, image, PDF, location and reaction, with file limits, charges and code in PHP, Python and Node.js.","breadcrumb":{"@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-api-session-message\/#breadcrumb"},"inLanguage":"en-IN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fast2sms.com\/help\/whatsapp-api-session-message\/"]}]},{"@type":"ImageObject","inLanguage":"en-IN","@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-api-session-message\/#primaryimage","url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/whatsapp-api-excel-2x-scaled.webp","contentUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/whatsapp-api-excel-2x-scaled.webp","width":2560,"height":1600,"caption":"API Excel page with the WhatsApp tab selected and the WhatsApp Session API Excel card with a Download Session API button"},{"@type":"BreadcrumbList","@id":"https:\/\/www.fast2sms.com\/help\/whatsapp-api-session-message\/#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":"WhatsApp session message API: reply to customers within 24 hours"}]},{"@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\/18285","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=18285"}],"version-history":[{"count":1,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/18285\/revisions"}],"predecessor-version":[{"id":19481,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/18285\/revisions\/19481"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media\/18284"}],"wp:attachment":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media?parent=18285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/categories?post=18285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/tags?post=18285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}