WhatsApp

dominate popular platforms

Drive better customer engagement outcomes

Meet your customers where they already are, on the platform with 2 billion+ users.

Get started
Trusted by 30,000+ global businesses
RazorpayXiaomiUnacademyDream11IndeedIndian OilIxigo
curl --request POST \
  --url https://control.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ \
  --header 'Authkey: <authkey>' \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --data '
{"integrated_number":"Intergated WhatsApp Number, with country code","recipient_number":"Mobile Number","content_type":"text","text":"Message Content"}
'
const http = require("https");

const options = {
  "method": "POST",
  "hostname": "control.msg91.com",
  "port": null,
  "path": "/api/v5/whatsapp/whatsapp-outbound-message/",
  "headers": {
    "Authkey": "<authkey>",
    "accept": "application/json",
    "content-type": "application/json"
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on("data", function (chunk) {
    chunks.push(chunk);
  });

  res.on("end", function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  integrated_number: 'Intergated WhatsApp Number, with country code',
  recipient_number: 'Mobile Number',
  content_type: 'text',
  text: 'Message Content'
}));
req.end();
<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://control.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => "\n{\"integrated_number\":\"Intergated WhatsApp Number, with country code\",\"recipient_number\":\"Mobile Number\",\"content_type\":\"text\",\"text\":\"Message Content\"}\n",
  CURLOPT_HTTPHEADER => [
    "Authkey: <authkey>",
    "accept: application/json",
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
require 'uri'
require 'net/http'
require 'openssl'

url = URI("https://control.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE

request = Net::HTTP::Post.new(url)
request["Authkey"] = '<authkey>'
request["accept"] = 'application/json'
request["content-type"] = 'application/json'
request.body = "\n{\"integrated_number\":\"Intergated WhatsApp Number, with country code\",\"recipient_number\":\"Mobile Number\",\"content_type\":\"text\",\"text\":\"Message Content\"}\n"

response = http.request(request)
puts response.read_body
import http.client

conn = http.client.HTTPSConnection("control.msg91.com")

payload = "\n{\"integrated_number\":\"Intergated WhatsApp Number, with country code\",\"recipient_number\":\"Mobile Number\",\"content_type\":\"text\",\"text\":\"Message Content\"}\n"

headers = {
    'Authkey': "<authkey>",
    'accept': "application/json",
    'content-type': "application/json"
    }

conn.request("POST", "/api/v5/whatsapp/whatsapp-outbound-message/", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
Features
Support Base64Send the body in JSON and leave the rest to us. No need to make a URL or upload your file as you can directly send JSON body and it will be converted automatically into Base64 format and sent via WhatsApp.
2way communicationSay hello to go on HELLO. Give your customer the right platform to continue the conversation. Once they reply, they are directly taken to HELLO to start a 2-way communication with your business.
Manage template inside panelCreate and manage your templates right here. No need to switch platforms to create your template. You can create the templates, manage it and check the status of it right here without going on Facebook.
AnalyticsGet graphical insights into your business messages. Analyse and improvise your business messaging with the right metrics. Get a graphical report on the number of messages sent, delivered, conversations and more.
Export LogsGet individual outbound and inbound messages logs. Export the logs for better viewing and insights. Get details of all the outbound and inbound messages and conversations your business had with your customers.
Start building your ideal customer engagement experience