Send an SMS invitation to the survey.

Will send an SMS invitation to the survey.

Subject and message are mandatory fields only when you send request first time. After this you don't need to send these because these are saved to the survey. If subject and message are saved to survey before you send first request then you don't need to send these at all.

Message can be 138 characters long. We will add short 22 characters invitation link after the message.

Before you can send invitations:

  • SMS channel must be activated by Surveypal
  • Survey must be launched (Build > Launch)
curl -i -X PUT \
   -H "Authorization: Basic YOUR-USERNAME-AND-TOKEN-BASE64-ENCODED" \
   -H "Accept:application/json" \
 'https://my.surveypal.com/api/rest/survey/:id/answer/sms/invite?phoneNumber=:phoneNumber&unique=:unique&anonymous=:anonymous&meta=:meta&localeId=:localeId&subject=:subject&message=:message&sendAt=:sendAt'
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!