title: Whatsapp Api - How to automatically send pre-filled message which is in the url
body: <p>To create your own link with a pre-filled message that will automatically appear in the text field of a chat, use <code>https://wa.me/whatsappphonenumber/?text=urlencodedtext</code> where whatsappphonenumber is a full phone number in international format and URL-encodedtext is the URL-encoded pre-filled message.</p>
  
  <pre><code>Example:https://wa.me/15551234567?text=I'm%20interested%20in%20your%20car%20for%20sale
  </code></pre>
  
  <p><a href="https://faq.whatsapp.com/en/android/26000030/" rel="noreferrer">https://faq.whatsapp.com/en/android/26000030/</a></p>
  
  <p>or</p>
  
  <pre><code>&lt;a href="https://api.whatsapp.com/send?phone=0123456789&amp;text=I'm%20interested%20in%20your%20services" target="_blank"&gt;  Click to WhatsApp Chat&lt;/a&gt;
  </code></pre>
  
  <p>The message in the url shows in the input field of whatsapp message box is there a way so that the message gets posted or sent automatically ?
  Reason behind it-
  There will be a icon on the website for whatsap chat anyone who clicks on that icon his message should be automatically send to the website's contact number which is in the url.</p>