Add Recipients
POST https://rest.webropolsurveys.com/api/v1/surveys/{{SurveyId}}/recipients/add
Adds one or more recipients that need to have an Email defined, other optional values are PhoneNumber, FirstName, LastName. Additionally recipients can be added to a recipientgroup if the RecipientGroupId is known.
Request Body
{"Recipients"=>[{"Email"=>"dummy@webropol.com", "PhoneNumber"=>"+358401234567", "FirstName"=>"Dummy", "LastName"=>"Respondent"}, {"Email"=>"dummy2@webropol.com", "FirstName"=>"Dummy 2", "LastName"=>"Respondent"}, {"Email"=>"dummy3@webropol.com"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"EventParticipantsAdded":3}