Send Events Email

POST https://rest.webropolsurveys.com/api/v1/events/{{EventId}}/send/email/

Sends an email to the recipients. You can define following details in body.

{
  "Filter": "SendToAll", //Allowed values: 'SendToAll', 'SendToNew', 'NotAnswered', 'Answered'
  "EmailBody": "Please respond to my survey",  //HTML is allowed
  "EmailSubject": "Survey Invitation",
  "TemplateId": "00000000-0000-0000-0000-000000000000", //Optional email template to be used
  "RecipientGroupId": "00000000-0000-0000-0000-000000000000", //Optional recipient group
  "LimitAnsweringDays": 0, //optional
  "OverwriteEmailSubject": true //optional
}

Request Body

{"Filter"=>"SendToAll", "EmailBody"=>"string", "EmailSubject"=>"string", "TemplateId"=>"00000000-0000-0000-0000-000000000000", "RecipientGroupId"=>"00000000-0000-0000-0000-000000000000", "LimitAnsweringDays"=>0, "OverwriteEmailSubject"=>true}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring