{
  "id": 14437396,
  "title": "wa.me Links Explained: Formats, Encoding and Gotchas for Pre-Filled WhatsApp Messages",
  "url": "https://urgent.news/2026/10/14/wa-me-links-explained-formats-encoding-and-gotchas-for-pre-filled",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-14T11:37:54.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/wabbiyo/wame-links-explained-formats-encoding-and-gotchas-for-pre-filled-whatsapp-messages-ihg"
  },
  "original_language": "en",
  "account": null,
  "summary": "Click-to-chat links using wa.me format are simple yet prone to common issues. To create a working link, use full international format for the phone number, dropping any non-digits, national leading zero, and special characters. Encode the message text using UTF-8 encoding, replacing spaces with %20, new lines with %0A, and other special characters with their respective encoded values. JavaScript offers a helper function to generate these links, while PHP users can use rawurlencode() instead of urlencode(), which converts spaces into +. Be aware that links open WhatsApp Web on desktop, and users can edit the pre-filled text. Automated messages require the WhatsApp Business API, and the number must be registered on WhatsApp to avoid errors.",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}