Send SMS
POST https://rest.webropolsurveys.com/api/v1/surveys/{{EventId}}/send/sms
Sends an SMS to the recipients. You can define following details in body: Message, Filter, NumberOfReminders, IncludeSurveyLink, SenderName and LimitAnsweringDays.
You can not use _
character in SenderName. You can use space.
NOTE: This request uses /surveys/ in URL instead of /events/.
NOTE: NumberOfReminders defines which recipients will get the reminder. If recipients have already got 1 reminder you need to change the value to 2. This is optional setting used to repeat the earlier SMS sending.
SenderName: Max 11 characters including spaces.
Consumed SMS credits are calculated based on message length. 160 characters per 1 credit.
NOTE: Survey link consumes 52 characters from allocated 160 characters. If survey tags have been used (for example [SurveyLink]), the actual character count is calculated from the final message.
Request Body
{"Message"=>"How are you doin'?", "Filter"=>"SendToAll", "NumberOfReminders"=>0, "IncludeSurveyLink"=>true, "SenderName"=>"Jane Doe", "LimitAnsweringDays"=>0}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"NumberOfSentSMS":0}