This defines how you send us the document & customer details. The information can be sent to us using two methods.
{
"UserId": "<userid /email/ phone>",
"Country": "US",
"TemplateId": "<Template Id Here>",
"LocationID": "<Location Id Here>",
"Document": {
"Url": "<http url if you want to serve document from your server>",
"Name": "sample.pdf",
"Base64": "<document as base 64 encoded string>"
}
"CustomData": {
"Channel": {
"storename": "Yosemite Valley",
"brand": "Aven"
},
"Template": {
"amount": "$500",
"quantity": "3",
"date": "05 August, 2021",
"receipt": "UCB-001-3456"
}
}
}
Sendocs allow a high degree of personalisation in communication with customers. Both the message that is sent to customer over any channel and the template that is displayed to the customer can have several personalised elements. These are to be passed to us as key value pairs.
Example 1: (Text Message)
Example 2: (Email Message)
Any number of variables can be personalised in the template that is displayed to the customer on clicking the link. All variables need to be created in the Page Header in the Portal > Templates.
Example 1: (Free Form Text Message)
Example 2: (Structured Fields)
Below are Http status codes that are returned over a post request.
Integration over Email requires very limited information to be shared with Sendocs.
Standard messages need to be created for both channel messages (message shown in the SMS or whatsapp) and display template headers (message shown on top of the display template).
Configuring the message that is sent to the customer over SMS, Whatsapp, or other channels.
Sendocs helps businesses like yours, to send documents to their customers in exciting, interactive templates. Once initial setup is done, the typical process works in steps described below.
There are two type of templates that need to be created to start using Sendocs
Top page that customer sees on clicking the link
You may chose to send the link to your customers using our integrations with various communication providers like Twilio, etc. In that case you need to define the content to be displayed in the SMS, Whatsapp or Email. We call these channel templates.
This defines how the unique link generated by Sendocs is sent to your customers. There are two generic ways to do this.
This is achieved by providing different callback configurations as below.
You can configure the desired callback in portal > configuration
http://api.domain.com/httpapi/QueryStringReceiver?ver=1.0&key=YOURKEY&encrpt=0&dest={userid}&send=SENDERID&text=Thanks for shopping at {storename}! To view your bill, give your feedback and get offers, pls click {link}
http://api.domain.com/httpapi/QueryStringReceiver?ver=1.0&key=YOURKEY&encrpt=0&dest={userid}&send=SENDERID&text={message}