Send email survey
documentedTrigger an email-based survey to specified end users.
POST /v1/email_surveyEmail Surveysno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.wootric.com/v1/email_survey" \
-X POST \
-H "Accept: application/json" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d "access_token={{$OAUTH2_ACCESS_TOKEN}}" \
-d "emails[]={{$email1}}" \
-d "emails[]={{$email2}}" \
-d "survey_immediately={{$survey_immediately}}" \
-d "survey_settings[custom_messages][followup_text]={{$followup_text}}" \
-d "subject={{$subject}}" \
-d "end_user[properties][campaign_name]={{$campaign_name}}"