Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

api whatsapp link

<!-- 
	Make a link to start a chat with a specific phone number.
	
	- Replace the xxxxxxxxxx with a valid phone number,
-->
<a href="https://wa.me/xxxxxxxxxx">Click here to chat</a>

<!-- 
	Make a link to start a chat with a specific phone number and
	a prefilled message.
	
	- Replace the xxxxxxxxxx with a valid phone number,
	- Don't forget to urlencode the text as per the example.
-->
<a href="https://wa.me/xxxxxxxxxx?text=This%20is%20a%20prefilled%20message">Click here to chat</a>

<!--
	Make a link that shares a prefilled message, but, lets the user
	choose a contact (from their phonebook) to send the message to,
	
	- Don't forget to urlencode the text as per the example.
-->
<a href="https://wa.me/?text=This%20is%20a%20prefilled%20message">Click here to chat</a>
 
PREVIOUS NEXT
Tagged: #api #whatsapp #link
ADD COMMENT
Topic
Name
3+9 =