Send Whatsapp Text Message through API

Whatsapp API Service Provider In Coimbatore

WhatsApp Business is a messaging platform developed by Facebook that allows businesses to communicate with customers easily. It includes features like message broadcasting, rich media support, and chatbot integration, enabling businesses to deliver high quality customer service and more effectively reach their target audiences.

Live Support

Content Management

Broadcast Management

Template Submission

Chatbot Builder

APIs & Webhooks

Integrations

https://creativepoint.in/whatsapp-api-push-notification.html

Send Whatsapp Text Message

Our WhatsApp API push notification is a message that is sent to a user through the WhatsApp messaging platform, using an Application Programming Interface (API). These notifications can be used to send important information or updates to users, such as new product releases, special promotions, or even emergency alerts.

Send Text Message to Whatsapp Number Using API in PHP

Before Sending Message Scan Whatsapp QR Code..

login-whatsapp-from-our-service-before-start-creativepoint

To create a WhatsApp API push notification, you will need to use our API that allows you to send messages through the WhatsApp platform. Once you have set up your account and obtained the necessary API credentials, you can begin crafting your message.

Our WhatsApp API allows sending media files such as images, videos, and audio files, in addition to text messages. You can include media files in your messages by specifying the URL of the file or by sending the file data directly in the API request.

Send Text Message:

GET /api/sendText?token=<instance id>&phone=<phone>&message=<message>

http://whatsappsms.domain.in/api/sendText?token=&phone=91xxxxxxxxxx&message=hello

Request Parameter:

token: instance id
 phone: phone number with country code before phone no. e.g. for India 91xxxxxxxxxx
 message: Use urlencode to message before sending

Response:

{
  "status": "success",
  "message": "00-Success",
  "data": {
    "connStatus": true,
    "messageIDs": [
      "61b84e20683424077a302b00"
    ]
  },
  "responsetime": 4.589305109
}

Using PHP Curl Function to Send Whatsapp API

<?php
 
 $instance = '123XXX456XXXX789'; 
 $whatsapp_number = '123XXXXXX'; // with country Code  
 $content = 'Hello World'; 

 $url = "http://whatsappsms.domain.in/api/sendText?token=".$instance."&phone=".$whatsapp_number."&message=".urlencode($content)."";
 $ch = curl_init();
 // set url
 curl_setopt($ch, CURLOPT_URL,$url);
 //return the transfer as a string
 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
 curl_close($ch);

?>

Output :

whatsapp-api-output-image

WhatsApp API also allows businesses to communicate with their customers in a more personal and efficient way, and it can be a powerful tool for customer engagement and retention.

Overall, Our WhatsApp API can be a valuable addition to a business’ communication strategy, but it’s important to use it responsibly and in compliance with the guidelines provided by Creative point.

send-image-text-pdf-and-much-more-through-whatsapp-api

For Demo Account Please Call

+91 99941 75754

+91 96777 75754

+91 98944 75754