This API is only use for Postman
Add Contact
Request:
{
"whatsapp_number":"9170289XX",
"contact_name":"ABC"
}
Response:
{
"result": true,
"message":"Number Added Successfully"
}
Send Template Message
Request:
{
"sender_whatsapp_number":"9170289XX",
"template_name":"Enter temaplate name",
"broadcast_name":"Enter broadcast name",
"url":"Enter Url if template header contains media.",
"parameter_value1":"Enter parameter value1",
...........
}
Response:
{
"result": true,
"messages": [{
"id": "gBEGkZdlOXAglwMKKlMDd-i8Y"
}],
"meta": {
"api_status": "stable",
"version": "2.37.1"
}
}
Send Session Message
Request:
{
"sender_whatsapp_number":"9170289XXXXX",
"message":"test api"
}
Response:
{
"result": true,
"messages": [{
"id": "gBEGkZdlOXAglwMKKlMDd-i8Y"
}],
"meta": {
"api_status": "stable",
"version": "2.37.1"
}
}
Sending Session Media
Request:
{
"sender_whatsapp_number":"9170289XXXXX",
"caption_message":"test api",
"url":"Enter URL"
}
Response:
{
"result": true,
"messages": [{
"id": "gBEGkZdlOXAglwMKKlMDd-i8Y"
}],
"meta": {
"api_status": "stable",
"version": "2.37.1"
}
}
Get Message By Specific Whatsapp Number
Request:
{
"whatsapp_number":"9170289XXXXX"
}
Response:
{
"result": true,
"data": [{
...............
}],
}
Receive Session Message
Response:
{
"result": true,
"data": [{
...............
}],
}
Incoming Message
Response:
{
"result": true,
"data": [{
...............
}],
}
Outgoing Message
Response:
{
"result": true,
"data": [{
...............
}],
}