01 · Definition
What is click-to-chat?
Click-to-chat is WhatsApp's link format for starting a conversation with a phone number: a URL of the form https://wa.me/<number> that opens WhatsApp on a phone, or WhatsApp Web on a computer, straight into a chat with that number — without the customer saving it as a contact. An optional text parameter pre-fills the message box, for example https://wa.me/919876543210?text=Hi%2C%20I%20want%20to%20order, so the customer only has to press Send.
The number must be written in full international format as digits only: the country code followed by the national number, with no +, no 00, no leading 0, no spaces or dashes — 919876543210 for an Indian mobile. The text must be URL-encoded, so spaces become %20 and commas %2C. The older long form https://api.whatsapp.com/send?phone=919876543210&text=… behaves the same way. The link works for any WhatsApp number, whether it runs on the WhatsApp Business app or on the Cloud API.
When the customer sends the pre-filled message, the business receives an ordinary inbound text in its messages webhook: a user-initiated conversation that opens a 24-hour customer service window. Unlike a Click-to-WhatsApp ad, a wa.me link carries no referral object and does not open a free entry point window. A WhatsApp QR code is the scannable version of the same entry point, and a WhatsApp chat widget is a website button that uses it under the hood.
Key takeaways
- Click-to-chat is a wa.me link that opens a WhatsApp chat with a number, with optional pre-filled text the customer sends themselves.
- The format is
https://wa.me/<number>?text=<URL-encoded message>, with the number in full international form, digits only. - Nothing is sent automatically: the customer taps Send, and their message opens a 24-hour customer service window.
- wa.me passes only the text into the chat, so put a short reference code in the pre-filled message to know where the lead came from.
- A wa.me chat does not open a free entry point window; replies are charged as service messages at ₹0.145 in India.
02How does InfiQ help with click-to-chat?
Make click-to-chat links for free with InfiQ's link generator. Chats started from them arrive in InfiQ's shared inbox, where bots and agents pick them up.
WhatsApp link generator03 · Specifications
Click-to-chat: key facts and limits
| Short form | https://wa.me/<number>?text=<encoded> |
|---|---|
| Long form | https://api.whatsapp.com/send?phone=<number>&text=<encoded> |
| Number format | Country code + national number, digits only (919876543210) |
| Pre-filled text | URL-encoded; the customer can edit it before sending |
| Sends automatically? | Never — the customer taps Send |
| Window opened | 24-hour customer service window, not a free entry point |
| Reply charge (India) | ₹0.145 per service message since 1 October 2026 |
04 · Code samples
Click-to-chat in code
// Build a click-to-chat link from an E.164 number and an optional message.export function waLink(e164, text = "") {const digits = e164.replace(/\D/g, ""); // "+91 98765 43210" -> "919876543210"const query = text ? `?text=${encodeURIComponent(text)}` : "";return `https://wa.me/${digits}${query}`;}waLink("+91 98765 43210", "Hi, I'd like the price of the 5 kg atta pack [ref:pdp-atta]");// https://wa.me/919876543210?text=Hi%2C%20I'd%20like%20the%20price%20of%20the%205%20kg%20atta%20pack%20%5Bref%3Apdp-atta%5D
Expects a number that already has its country code; normalise local formats first.
05Playground
A working model of Click-to-Chat. Use its controls to replay it step by step.
Turn a number and a message into a wa.me link
A wa.me link opens a WhatsApp chat with a number, optionally with a pre-filled message.
Format: number | message
- Number
- +919876543210
- Encoded text
- 89 chars
- Stripped 2 separators (spaces, dashes, dots, brackets).
- wa.me takes the full international number as digits only — no +, no 00, no spaces.
- The message was URL-encoded (59 characters → 89) and pre-fills the chat; the customer still presses Send.
06 · Operation
How does click-to-chat work?
Normalise the number
Convert the business number to E.164 and drop the
+:+91 98765 43210becomes919876543210. A leading0or a missing country code produces a link to the wrong chat or none.Write the pre-filled message
Make it specific to the placement — "Hi, I'd like the price of the 5 kg atta pack" — and add a short reference such as
[ref:pdp-atta]so the team knows where the chat came from.URL-encode the text and build the link
Encode the message with
encodeURIComponent(or your language's equivalent) and append it as?text=. Test the link on Android, iOS and desktop before printing it.Place it where intent peaks
Use it on product and pricing pages, checkout help, social bios, order emails and packaging. For print and shop counters, encode the same link in a QR code.
Receive and route the chat
The customer's message arrives as a normal
textmessage in the webhook. Read the reference code, tag the conversation and reply inside the 24-hour window.
07 · Cautions
Common mistakes with click-to-chat
Formatting the number wrongly
wa.me/+91-98765-43210,wa.me/09876543210and a number without its country code all fail or open the wrong chat. Use digits only, starting with the country code.Not encoding the text
Raw spaces,
&,#or?break the link at the first special character, so only part of the message — or none — appears. Always URL-encode thetextvalue.Expecting UTM tags to reach the chat
Parameters other than
textare not passed into the conversation. If you need to know which page or poster produced the chat, put a short reference code inside the pre-filled message.Budgeting it like an ad entry point
Chats from wa.me links and QR codes do not open a free entry point window; only Click-to-WhatsApp ads do. Plan for service-message charges on every reply.
08 · Worked example: A table-booking link on a Bengaluru menu card
Example: A table-booking link on a Bengaluru menu card
A Bengaluru restaurant prints a QR code on its menu cards that encodes https://wa.me/918045678901?text=Hi%2C%20I'd%20like%20to%20book%20a%20table%20%5Bref%3Amenu-07%5D. A guest scans it, WhatsApp opens with "Hi, I'd like to book a table [ref:menu-07]" ready to send, and one tap starts the chat. The restaurant's bot reads the reference, tags the lead as "menu card, outlet 7", and replies with a list message of open slots. Each reply is a service message charged at ₹0.145 — the link itself costs nothing.
09 · Rationale
Why does click-to-chat matter?
Every step between interest and conversation loses customers — finding the number, saving it, opening WhatsApp, typing a first message. A click-to-chat link removes all of them in one tap, which is why it sits behind "Chat on WhatsApp" buttons on product pages, Instagram bios, Google Business Profiles, invoices, emails and printed QR codes. Because the customer writes first, the business can answer in free-form messages straight away, without a template — and a first reply that asks for marketing opt-in turns each link into a steady source of list building.
10 · Questions and answers
Click-to-Chat FAQs
- How do I create a WhatsApp click-to-chat link?
- Write the number with its country code as digits only and add it to https://wa.me/. For a pre-filled message, append ?text= followed by the URL-encoded message, for example https://wa.me/919876543210?text=Hi.
- Does a wa.me link send the message automatically?
- No. It only opens the chat and fills in the text if you added it. Nothing is sent until the customer taps Send, which keeps the conversation customer-initiated.
- Are replies to click-to-chat conversations charged?
- Yes, in India since 1 October 2026. The customer's message opens a 24-hour customer service window, and each reply you send in it is charged as a service message at ₹0.145; a wa.me chat does not qualify for a free entry point.
- What is the difference between click-to-chat and Click-to-WhatsApp ads?
- Click-to-chat is a free link you place anywhere yourself. Click-to-WhatsApp ads are paid Facebook and Instagram ads that open a chat, carry ad data in a referral object and can open a free entry point window.
- Can I track which link a WhatsApp chat came from?
- Yes, by putting a short reference code in the pre-filled text, such as [ref:menu-07]. WhatsApp passes only the text into the chat, so UTM parameters on the wa.me link do not reach you.
11 · Recommended practice
Best practices for click-to-chat
- Keep the pre-filled text short and specific; customers send it unchanged most of the time.
- Use a different reference code per placement so one report shows which page, poster or email drives chats.
- Pair the link with an auto-reply so a chat started at midnight is answered immediately.
- Test every printed link before the print run — fixing a QR code on 10,000 boxes is expensive.
* 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).