Send SMS Survey
Last updated
Last updated
You can refer to the Zonka Feedback Send SMS Survey API documentation here and learn more from the sample request and responses provided.
To send out a quick SMS Survey using API you need just the required parameters to be passed. If any of the optional parameters are not passed the default SMS template that has been saved for the particular survey will be sent. If any of the Optional parameters are passed the sections of the SMS corresponding to the parameters passed will be overwritten.
The below are the required parameters for an SMS survey
Parameter | Value | Description |
---|---|---|
| string | SurveyId of the survey to be sent |
| string | Mobile number of the recipient to which the SMS is to be sent. Accepted format is E.164 |
Learn more about the mobile number format E.164 here.
You can customize the SMS survey with some additional parameters such as a customized message and other parameters mentioned in the table below.
Parameter | Value | Description |
---|---|---|
| string | Survey linkId to be used |
| string | Name of the recipient |
| string | Content for message body of the SMS |
| string | Specify the Location Id of the location you want the email survey to be sent. |
The above is a list of non-mandatory variables to customize the content and distribution of the SMS survey.
You can pass additional data as post parameters in the Send SMS Survey API. You will be able to send Survey, Contact, and Hidden variables. To pass these variables you will need to use the attributes
parameter.
Parameter | Value | Description |
---|---|---|
| object with key-value pair | Key-value pair of survey attributes. |
Occasionally, just by looking at where a respondent viewed the survey link, you will know certain details about them before they ever answer your survey. Custom variables let you send data through the survey web link and APIs, which may then be shown inside the survey and on any reports the survey generates. Please read more about supported variables here.
Zonka Feedback supports three types of custom variables -
Survey Variables
Contact Variables
Hidden Variables
By giving value for the scheduleDateTime
parameter, you may also plan for the SMS survey to be sent at a later time. With this, you may choose the precise time and date at which the survey SMS from Zonka Feedback should be sent to the recipient.
Parameter | Value | Description |
---|---|---|
| string | Specify a future Date and Time for which SMS survey is to be scheduled. |
Zonka Feedback supports two types of Contact Lists and Segments: Dynamic and Static. You can send SMS surveys to multiple recipients by adding them to these contact lists and specifying the list name in the Send SMS Survey API.
Parameter | Value | Description |
---|---|---|
| string | Specify the Contact List names to which the SMS survey is to be sent. |
You can fetch a list of Contact Lists in your account using the GET Contact Lists API
By default, Survey Throttling is set to 30 days for your Zonka Feedback account. That means SMS will not be delivered to a recipient for the next 30 days if sent today. This setting can be changed or switched off from the Web App. While sending SMS Surveys via API you can set this setting to be ignored.
Parameter | Value | Description |
---|---|---|
| boolean | Set as |
If you need any help regarding the APIs please reach out to us at hello@zonkafeedback.com.