What is the session vs template choice?
Session Message vs Template Message is the most basic choice in WhatsApp Business messaging: may this message be free-form, or must it be an approved template? The answer depends on one fact — whether the customer has messaged you in the last 24 hours. If they have, the 24-Hour Customer Service Window is open and you may send a Session Message: any free-form text, media or interactive content. If they have not, you may only send a Message Template that Meta has reviewed and approved.
The two trade flexibility for reach. A session message can say anything relevant to the conversation, needs no approval and can use every message type, but it can only continue a conversation the customer started. A template is fixed text with variables, reviewed in advance — automatically, usually within 24 hours — and assigned a category: marketing, utility or authentication. In return it can reach an opted-in customer at any time and is the only way to start or re-open a conversation.
Cost follows the same split in India. Since 1 October 2026 a session reply, priced as a Service Message, is charged at the service rate, ₹0.145, and a template by its category: ₹0.19 for a Utility Template, ₹0.94 for a Marketing Template and ₹0.14 for authentication. Utility templates sent inside an open window became chargeable on the same date, so using a template where a typed reply would do no longer saves anything. This page compares the two; each side has its own definition page.
Key takeaways
- Inside a customer's 24-hour window you may send free-form session messages; outside it, only an approved template.
- Only templates can start or re-open a conversation; session messages can only continue one the customer opened.
- Templates need Meta's approval and a category; session messages need no approval but must answer a live conversation.
- In India, a session reply costs ₹0.145 since 1 October 2026; templates outside the window are charged by category.
- Utility templates sent inside an open window are charged too since 1 October 2026, so templating in-window replies saves nothing.
How does InfiQ help with the session vs template choice?
In InfiQ, free-form replies go out from the inbox and bots while the customer's window is open, and approved templates from the template manager handle everything else, including broadcasts.
Shared Team InboxThe session vs template choice: key facts and limits
- Session: allowed when
- Within 24 hours of the customer's last message
- Template: allowed when
- Any time, to opted-in customers
- Approval
- Session none · template reviewed by Meta, usually within 24 hours
- Starts a conversation
- Template only
- Content
- Session free-form, any type · template fixed text with variables
- India price, session
- ₹0.145 per delivered message since 1 October 2026
- India price, template
- By category: ₹0.19 utility, ₹0.94 marketing, ₹0.14 authentication
- Free-form after 24 hours
- Fails with error 131047
How does the session vs template choice work?
- Step 1
Find the customer's last inbound message
Store the timestamp of every inbound message per customer. That one value decides the format of your next message.
- Step 2
Under 24 hours: reply free-form
Send text, media, buttons or lists as session messages. Each new customer message restarts the clock; your own messages do not.
- Step 3
Over 24 hours: pick a template category
Utility for updates on something the customer asked for or bought, authentication for codes, marketing for promotions. The category sets both review and price.
- Step 4
Send the template, then switch back
When the customer replies to the template, a new window opens and the thread returns to free-form session messages.
- Step 5
Handle the edge
If a free-form send fails with 131047 because the window closed while it was queued, resend the content as a template instead of retrying the text.
Common mix-ups
Common mistakes with the session vs template choice
Checking the window when the job is queued
A reply queued at hour 23 and sent at hour 25 fails. Check the window at the moment of sending, with a small safety margin.
Templating every reply
Approvals take time and templates read stiffly. Inside the window a utility template is charged as well since 1 October 2026, so it buys nothing over a typed answer.
Miscategorising to save money
A promotional message submitted as utility is reclassified as marketing. Choose the honest category up front and price campaigns accordingly.
Assuming one open window covers a broadcast
Windows are per customer. A send to a list must use a template for everyone whose own window has closed.
Example: A repair ticket in Indore, three formats in two days
On Monday at 4 pm a customer asks an Indore electronics repair centre about a warranty repair, and the agent answers with free-form text and a PDF checklist — session messages. On Wednesday at 10 am, with the window closed since Tuesday at 4 pm, the laptop is ready, so the centre sends its approved utility template repair_ready with the ticket number as a variable. The customer replies 'Can I collect it after 7 pm?', which opens a new window, and the agent answers free-form. No failed sends, and no template used where a typed answer would do.
The session vs template choice in code
const WINDOW_MS = 24 * 60 * 60 * 1000;const MARGIN_MS = 60 * 1000; // don't cut it to the last minute// customer.lastInboundAt: time (ms) of their latest message, from your messages webhookexport function buildMessage(customer, reply) {const open = customer.lastInboundAt && Date.now() - customer.lastInboundAt < WINDOW_MS - MARGIN_MS;if (open) {return { messaging_product: "whatsapp", to: customer.waId, type: "text", text: { body: reply.text } };}return {messaging_product: "whatsapp",to: customer.waId,type: "template",template: {name: reply.templateName, // e.g. repair_ready (utility)language: { code: "en" },components: [{ type: "body", parameters: reply.params.map((p) => ({ type: "text", text: p })) }],},};}// POST either body to https://api.infiq.in/v1/messages
Decide at send time, not when the job is queued, and keep a template ready for every reply that can miss the window.
Why the difference matters
Why does the session vs template choice matter?
Getting this choice wrong is the most common reason WhatsApp messages fail. A free-form follow-up sent the morning after a chat fails with Error 131047 (Re-engagement Message); a promotional message submitted as utility to save money is recategorised as marketing; a team that templates every reply waits on approvals for answers it could have typed in seconds. A single rule — check the customer's window first, then pick the format — keeps sends succeeding and costs predictable for developers and marketers alike.
Rules of thumb
Best practices for the session vs template choice
- Store the last inbound time per customer and show it in the inbox.
- Keep a small set of approved utility templates for late answers and follow-ups.
- Leave a one-minute margin before the 24-hour mark.
- When a template gets a reply, switch the thread straight back to free-form.
Session Message vs Template Message FAQs
What is the difference between a session message and a template message?+
Can I send a WhatsApp message without a template?+
Which is cheaper in India, a session message or a template?+
Can I send a template inside the 24-hour window?+
Why does my free-form WhatsApp message fail with error 131047?+
* Per-message rates for India, ex-GST: marketing, utility and authentication effective 1 July 2026; service messages ₹0.145 since 1 October 2026 after the first 1,000 a month on each WhatsApp number, which are free (all were ₹0 until 30 September 2026). Volume commitments earn discounts — final rate is confirmed on your account; applicable GST extra. Rates for other countries differ (see the international rate table on /pricing).