WhatsApp link formats
Each row shows the normal web link, the iPhone URL scheme and the Android form. Replace the capitalised placeholders with real values.
| Content | Web link | iPhone (URL scheme) | Android |
|---|---|---|---|
| Chat with a number | https://wa.me/15551234567 | whatsapp://send?phone=15551234567 | intent://send?phone=15551234567#Intent;package=com.whatsapp;scheme=whatsapp;end |
| Chat with a pre-filled message | https://wa.me/15551234567?text=Hello | whatsapp://send?phone=15551234567&text=Hello | intent://send?phone=15551234567#Intent;package=com.whatsapp;scheme=whatsapp;end |
Phone numbers use international format with digits only — no plus sign, spaces or dashes. URL-encode the text parameter.
Most apps do not officially document their URL schemes. The formats below are the ones DSLink uses in production today, but an app update can change them — test on a real device before hard-coding a scheme into your own app or site.
Using the scheme on a website
A URL scheme can go straight into a link. On iPhone, Safari asks the visitor to confirm before switching apps:
<a href="whatsapp://send?phone=15551234567">Open in WhatsApp</a>
On Android you can add a web fallback to the intent itself. If the app is missing, Chrome opens the fallback URL instead of failing:
intent://send?phone=15551234567#Intent;package=com.whatsapp;scheme=whatsapp;S.browser_fallback_url=https%3A%2F%2Fwa.me%2F15551234567;end
Two limits apply everywhere. If the app is not installed, a bare scheme does nothing useful — iOS shows an error. And built-in browsers inside apps such as Instagram, TikTok or X often block or ignore custom schemes, which is exactly where most links are tapped.
The no-code alternative: a smart link
A DSLink smart link wraps all of this in one short URL. On a phone it tries the right app format for the device, falls back to the WhatsApp web page if the app is missing, and sends desktop visitors straight to the website. You share one link everywhere and get click statistics on top.
Frequently asked questions
What is the WhatsApp URL scheme?
whatsapp://send?phone=NUMBER&text=MESSAGE opens a chat with that number and the message typed in.
Why does wa.me show a page before opening WhatsApp?
wa.me is a web page that has to hand off to the app. The whatsapp:// scheme or an Android intent goes straight to the chat.
What happens if the WhatsApp app is not installed?
A bare URL scheme fails: iOS shows an error and nothing opens. Always pair it with a web fallback — on Android with S.browser_fallback_url in the intent, or use a DSLink smart link, which falls back to the web page automatically.