Postman API & Debugging
This module covers debugging failures and verifying integration endpoints using the Postman API to ensure seamless data flow between BusinessOnBot and external platforms.
CURL for API Testing
Use the following CURL command to verify template messaging via the RML gateway.
curl --location 'https://apis.rmlconnect.net/wba/v1/tsp/messages' \
--header 'Authorization: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjdXN0b21lcl9pZCI6IjZoNHpNd083emdtNSIsIm9yaWdfaWF0IjoxNzY4Mjg1MTgyLCJleHAiOjE3ODM4MzcxODIsInVzZXJuYW1lIjoiYm9idGF5eWFyIiwic2VuZF9tZXNzYWdlIjpmYWxzZSwicmVzZWxsZXIiOmZhbHNlfQ.WGyUIv0p0S2VpyeiXrIAVh5XQxoj5naEXdARREeMyZI' \
--header 'Content-Type: application/json' \
--data '{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "+919731933122",
"type": "template",
"template": {
"name": "today_offer",
"language": {
"code": "en_US"
},
"components": [
{
"type": "header",
"parameters": [
{
"type": "image",
"image": {
"link": "https://bob-media-repository.s3.ap-south-1.amazonaws.com/tayyar/image/5krz/jpg_uf8/WhatsApp Image 2026-02-07 at 10.47.25 AM.jpeg"
}
}
]
},
{
"type": "body",
"parameters": []
}
]
}
}'