API Sample for Demo
Smartflo Omnichannel
API Document Smartflo WhatsApp
Business Platform
API Sample for Demo
Smartflo Omnichannel
Kindly find the API details as below
https://help.omni.tatatelebusiness.com/pages/api-docs - Swagger
https://documenter.getpostman.com/view/23902950/2s8YmULzu3#74f30c5a-fbbf-429f-800c-b7ef9d64623f -
Postman
Sample -Data
Base URL : https://wb.omni.tatatelebusiness.com/whatsapp-cloud/messages
Authorization : --Ask for the Key
Content-Type:application/json
Authorization:{{Auth_Token_new}}
API Sample for Demo
Smartflo Omnichannel
Sample payload for text – only change mobile number – Template name customer need
to register on the live account
{
"to": "+919594567625",
"type": "template",
"template": {
"name": "ttbs",
"language": {
"code": "en"
}
}
}
Sample for Pdf - Template name customer needs to register on the live account
{
"to": "+919594567625",
"type": "template",
"template": {
"name": "pdf",
"language": {
"code": "en"
},
"components": [
{
"type": "header",
"parameters": [
{
"type": "document",
"document": {
"link": https://s3-prod-smartflo-uploads.s3.ap-south-
1.amazonaws.com/pdf/pdf_1674022239576_Tata-Penetration-Testing-certificate.pdf
}
}
]
},
{
"type": "body",
"parameters": [
{
"type": "text",
"text": " Kunal,"
}
API Sample for Demo
Smartflo Omnichannel
]
}
]
}
}
Sample payload for image
{
"to": "+919594567625",
"type": "template",
"template": {
"name": "tatanex",
"language": {
"code": "en"
},
"components": [
{
"type": "header",
"parameters": [
{
"type": "image",
"image": {
"link": https://s3-prod-smartflo-uploads.s3.ap-south-
1.amazonaws.com/image/image_1671090902985_christmas-tree-background-christmas-decorations-snow-
blurred-sparking-glowing-happy-new-year-xmas-theme-81216064.jpg
}
}
]
},
{
"type": "body",
"parameters": [
{
"type": "text",
"text": " Kunal,"
}
]
}
]
}
}
API Sample for Demo
Smartflo Omnichannel