What is api.whatsapp.com/send?phone=?
It is a WhatsApp click-to-chat link: a URL that opens a chat with a given number, on a phone or in WhatsApp Web, without the person saving the number first. https://api.whatsapp.com/send?phone=15550100199 is the long form. WhatsAppโs help center documents the short form, https://wa.me/15550100199, which opens the same chat and is easier to read out, print or put in a QR code. Both accept a prefilled message.
How do you format the phone number?
WhatsApp wants the number in full international format: the country calling code, then the number without the leading 0 of its national format, and no plus sign, spaces, brackets or dashes. The generator applies those rules for you. A few examples:
| Country | Number as people write it | WhatsApp link |
|---|---|---|
| United States | +1 (555) 010-0199 | https://wa.me/15550100199 |
| United Kingdom | 07700 900123 | https://wa.me/447700900123 |
| France | 06 12 34 56 78 | https://wa.me/33612345678 |
| India | 98765 43210 | https://wa.me/919876543210 |
Italy is the exception worth knowing: Italian landline numbers keep their leading 0 in international format, so the generator does not strip it for +39, nor for San Marino (+378) and Cรดte dโIvoire (+225), whose numbers work the same way.
How do you add a prefilled message?
Add ?text= and the message after the number, URL-encoded: https://wa.me/15550100199?text=Hi%20there. On the api.whatsapp.com form it becomes &text=, because ?phone= already opened the query string. The text lands in the chat box, and the person still decides whether to send it. The characters that most often break a link:
Space
%20
Line break
%0A
&
%26
?
%3F
#
%23
Leave the number out, https://wa.me/?text=, and WhatsApp opens with the message ready and lets the person pick who to send it to, which is how share buttons work.
How do you make a WhatsApp QR code?
A WhatsApp QR code is the wa.me link drawn as a QR code: scanning it with a phone camera opens the chat, with the prefilled message if the link has one. The generator draws it as you type. Download the PNG for a screen, a slide or a social post, and the SVG for print, where it stays sharp at any size. Two habits avoid reprints: keep the prefilled message short, because every extra character makes the code denser and harder to scan from a distance, and scan the downloaded file with your own phone before it goes to the printer.
Where should you use a WhatsApp link?
On a contact or pricing page, as a button next to the email address. In an email signature, so a prospect can move from a long thread to a quick chat. Behind a QR code on a stand or a printed brochure. In the bio of a social profile. In every case the conversation starts when the other person taps, which is what makes a click-to-chat link welcome rather than intrusive.
What if your team needs to follow up on WhatsApp?
A link starts one conversation. Following up on dozens of deals, from each repโs own number, next to the LinkedIn messages and emails they already send, is a different job. The Swarmhit Smart API links each repโs WhatsApp number with a QR code or a pairing code and runs WhatsApp messages in the same sequence as LinkedIn and email, stopping as soon as the lead replies on any channel. WhatsApp is in early access, and the WhatsApp channel page shows what it covers. The WhatsApp follow-up playbook has the five messages that move deals, and our guides to WhatsApp Business API pricing and the unofficial WhatsApp API compare the ways to send at volume.
Questions
What is api.whatsapp.com/send?phone=?
It is the long form of a WhatsApp click-to-chat link. https://api.whatsapp.com/send?phone=15550100199 opens a chat with that number, and adding &text= prefills a message. WhatsApp's help center documents the shorter wa.me form, https://wa.me/15550100199, which does the same job and is easier to share, so this generator gives you both.
How do I create a WhatsApp link with a message?
Add ?text= followed by your message, URL-encoded, after the number: https://wa.me/15550100199?text=Hi%20there. Spaces become %20 and line breaks %0A. The message appears in the chat's text box, and the person still has to tap send. Type the message in the generator above and it encodes it for you.
Why does my WhatsApp link say the number is not on WhatsApp?
Usually the format. The number has to be in full international format: country code first, then the number without the leading 0 of the national format, and no plus sign, spaces, brackets or dashes. 07700 900123 in the UK becomes 447700900123. If the format is right, the number may simply not have a WhatsApp account.
Can I make a WhatsApp link without a phone number?
Yes. https://wa.me/?text= followed by your URL-encoded message opens WhatsApp with the message ready and lets the person choose which contact or group to send it to. It is useful for share buttons, where you want people to forward something to their own contacts rather than message you.
How do I create a WhatsApp QR code?
Enter the number and, if you want, a prefilled message in the generator above: it draws a QR code of the wa.me link as you type. Download it as a PNG for screens or as an SVG for print. Anyone who scans it with their phone camera lands in a chat with that number, with the message ready to send. Scan it yourself once before printing.
Is this WhatsApp link generator free?
Yes, and it runs entirely in your browser: the number and message you type are never sent to Swarmhit or anyone else. Copy the wa.me link, the api.whatsapp.com link, the HTML button or the QR code and use them wherever you like. Swarmhit's paid products, the Swarmhit Smart API and the Swarmhit Raw API, are APIs for teams that follow up on deals from their own WhatsApp numbers.