0% found this document useful (0 votes)
133 views5 pages

API Document

The document provides API details for the Smartflo WhatsApp Business Platform, including links to Swagger and Postman documentation. It includes sample payloads for sending messages in different formats such as text, PDF, and image, specifying the required authorization and content type. Users need to register template names on their live account to utilize these samples effectively.

Uploaded by

Md Farhan Anis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
133 views5 pages

API Document

The document provides API details for the Smartflo WhatsApp Business Platform, including links to Swagger and Postman documentation. It includes sample payloads for sending messages in different formats such as text, PDF, and image, specifying the required authorization and content type. Users need to register template names on their live account to utilize these samples effectively.

Uploaded by

Md Farhan Anis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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

You might also like