Public
Documentation Settings

11za

POSTSend Template

https://app.11za.in/apis/template/sendTemplate
Bodyformdata
authToken

U2FsdGVkX18YdKcPMX....

Auth Token provided to you by our agent

name

Name of the Customer

Name of the Customer to whom the template is being sent

sendto

910000000000

Customer Mobile Number with Country Code

originWebsite

www.11za.com

Enter your website from where the request is being initiated from

templateName

template_name

Name of the template to send

language

en

Language code of the template. Code can be found from the Templates Tab of the Web Application

myfile

if your template contain Header file (this should be wrapped in x-www-form-urlencoded Binary file)

buttonValue

Yes - https://11za.com No - contactus.html

Enter the enitre url, when isTinyURL is yes

Enter only the last part of the url, when isTinyURL is no

isTinyURL

Yes / No

This can either be yes or no.

Incase of a Dynamic Call to Action button in the template.

If yes, a custom link is generated on your behalf and sent to the customer to get the count of the clicks made on that url and the enitre url link must be entered in the buttonValue

If no, then please specify only the url to send to the customer, it will be appended to the link sent for approval while creating the template

Incase of other templates which doesn;t have a Dynamic URL button, please send no

headerdata

headerdata

This is used only incase of a dynamic value in the header

data[0]

data

Value entered here must be an array of dynamic value, if your template contains multiple dynamic values

tags

ABC,DEF

Value entered here must be comma separated values to assign the given tag to the customer

Example Request
curl
curl --location 'https://app.11za.in/apis/template/sendTemplate' \
--form 'authToken="U2FsdGVkX19lcfYrCSXm..."' \
--form 'sendto="910000000000"' \
--form 'originWebsite="https://11za.com/"' \
--form 'templateName="template_name"' \
--form 'myfile=@"/path/to/file"' \
--form 'data="data"' \
--form 'language="en"' \
--form 'buttonValue="Yes - https://11za.com
No - contactus.html"' \
--form 'isTinyURL="yes"'
Example Response
Text
{
  "Message": "Message Sent",
  "Data": 1,
  "Status": 200,
  "IsSuccess": true
}
No response headers
This request doesn't return any response headers

POSTsendBulkTemplate

https://app.11za.in/apis/template/sendBulkTemplate
Bodyformdata
authToken

U2FsdGVkX18YdKcPMX....

Auth Token provided to you by our agent

name

Name of the Customer

Name of the Customer to whom the template is being sent

sendto

910000000000

Customer Mobile Number with Country Code

originWebsite

www.11za.com

Enter your website from where the request is being initiated from

templateName

template_name

Name of the template to send

language

en

Language code of the template. Code can be found from the Templates Tab of the Web Application

myfile

This should be wrapped in x-www-form-urlencoded Binary file and must be repeated to send bulk template messages to the customer

buttonValue

Yes - https://11za.com No - contactus.html

Enter the enitre url, when isTinyURL is yes Enter only the last part of the url, when isTinyURL is no

isTinyURL

Yes / No

This can either be yes or no. Incase of a Dynamic Call to Action button in the template. If yes, a custom link is generated on your behalf and sent to the customer to get the count of the clicks made on that url and the enitre url link must be entered in the buttonValue If no, then please specify only the url to send to the customer, it will be appended to the link sent for approval while creating the template Incase of other templates which doesn;t have a Dynamic URL button, please send no

data[0]

data

Value entered here must be an array of dynamic value, if your template contains multiple dynamic values

tags

ABC,DEF

Value entered here must be comma separated values to assign the given tag to the customer

Example Request
curl
curl --location 'https://app.11za.in/apis/template/sendBulkTemplate' \
--form 'authToken="U2FsdGVkX18YdKcPMX...."' \
--form 'name="Name of the Customer"' \
--form 'sendto="910000000000"' \
--form 'originWebsite="www.11za.com"' \
--form 'templateName="template_name"' \
--form 'language="en"' \
--form 'myfile=@"/path/to/file"' \
--form 'buttonValue="Yes - https://11za.com
No - contactus.html"' \
--form 'isTinyURL="Yes / No"' \
--form 'data[0]="data"' \
--form 'tags="ABC,DEF"'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers