Pabbly API Documentation
Version: 1.0POST
Url: /pabbly/getTemplates
Retrieves a list of Templates.
Request
| Parameter | Type | # | Description |
|---|---|---|---|
| authToken | string | Required | The headers in add your authToken |
Response
{
status : 200,
message: Template List,
data: [
{
"_id": 1,
"name": "test"
},
{
"_id": 2,
"name": "test2"
}
]
}POST
Url: /pabbly/sendTemplate
Send Template
Request
| Parameter | Type | # | Description |
|---|---|---|---|
| TemplateName | string | Required | The Name of Your Template. |
| Name | string | Required | The Name of the Person. |
| PhoneNumber | string | Required | The PhoneNumber is add with Country Code. |
| Language | string | Required | Enter Language Short Name. |
| FileUrl | string | Optional | Enter Your file url. |
| ButtonValue | string | Optional | your template urls in dynamic value is a buttonvalue . |
| HeaderDynamicData | string | Optional | your template header in daynamics value is HeaderDynamicData. |
| BodyDynamicData | string | Optional | your template body in daynamics value is BodyDynamicData. |
| Tags | string | Optional | add tags in your sending template. |
Response
{
status : 200,
message: Message Sent,
data: {
"messageId": "xyz"
}
}