These sample requests are autogenerated by the OpenAPI spec. This endpoint requires one or more parameters in the URL: those are offset in curly-braces.
The IDs and values referenced in these responses are fake; please only rely on these responses for overall structure.
All parameters are optional unless explicitly specified.
Internal notes about the survey. Not shown to subscribers.
The list of pre-defined answer choices. Order is preserved unless randomize_answers is true.
[
"Red",
"Green",
"Blue"
]How often a given subscriber can respond — e.g. once (single response per subscriber) or unlimited.
"once"A subscriber can only respond to this survey once.
A subscriber can respond to this survey once per email.
The lifecycle status of the survey (e.g. active, archived).
Active.
Inactive.
If true, subscribers can provide a freeform text response in addition to (or instead of) picking from answers.
The UI control used to collect responses (e.g. radio, checkbox).
Radio button input type. Subscribers can select one option from multiple choices.
Checkbox input type. Subscribers can select multiple options from the available choices.
Text input type. Subscribers can provide freeform text responses.
If true, the order of answers is shuffled each time the survey is rendered.