/survey/{id}/answer/sms/invite/batch

Send batch of SMS invitations to the survey.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Will send batch of SMS invitation to the survey.

Subject and message are mandatory field 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)
Path Params
int64
required

Survey id

Query Params
boolean
Defaults to false

The answer phone number is shown anonymously in the results.

boolean
Defaults to true

The answer phone number is required to be unique among the survey.

string
required

The invitation subject. Not in use with SMS so just add some content like "test". Mandatory only in first request if subject is not saved to the survey.

string
required

The invitation message. Mandatory only in first request if message is not saved to the survey. You can add line break with %0a

string

The answer language identifier. If survey doesn't contain specified language then first language will be selected. https://developer.surveypal.com/reference/locale-id-parameter

string
Defaults to now

The date and time when to send the invitation. https://developer.surveypal.com/reference/timestamp-parameter

Body Params
string
required
Defaults to false

Recipient phone number.

string

A JSON array of meta information for the answer. https://developer.surveypal.com/reference/meta-parameter

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json