Skip to content

Instantly share code, notes, and snippets.

@marinhero
Created November 29, 2018 01:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marinhero/464e63314e879fb32c87ccef2d468dbc to your computer and use it in GitHub Desktop.
Save marinhero/464e63314e879fb32c87ccef2d468dbc to your computer and use it in GitHub Desktop.
Sampling Settings Override Example
# General example with all params
curl -X POST \
https://api.wootric.com/v1/email_survey \
-H 'Authorization: Bearer YOUR-TOKEN' \
-F 'emails[]=marin@wootric.com' \
-F 'survey_settings[sampling][response_throttle]=0' \
-F 'survey_settings[sampling][registered_percent]=100' \
-F 'survey_settings[sampling][first_survey_delay]=0' \
-F 'survey_settings[sampling][decline_throttle]=1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment