Documentation - Template(HSM) Sending API
Steps to send a template on your WhatsApp Bot via APIs.
- Contact support@businessonbot.com to get your guest API key and URL.
Once you’ve received the guest API key and URL, follow the steps below:
Introduction:
The API documentation is intended to be used as a reference to communicate with BusinessOnBot. BusinessOnBot will be calling the customer’s APIs with the request specified in the documentation and expects responses as mentioned.
API’s :
For all the APIs, BusinessOnBot will be passing the API KEY with the custom http header ‘x-guest-id’.
METHOD : POST URL : {{domain_name}}/wabiz/send
HEADER:
Basic Auth -
x-api-key : stringBODY : (Format - JSON)
SUCCESS RESPONSE:
{
"status": "success",
"statusCode": 200
}ERROR RESPONSE:
{
"status" : "failure",
"statusCode": "400",
"error": "Bad payload!!"
}
{
"status" : "failure",
"statusCode": "500",
"error": "Internal Server Error!!"
}