Feedback Management
Get campaign requirements
<Warning> The Feedback Management API is currently in **BETA**, therefore the following endpoints are subject to modification, given a **2 week notice**.If you are planning to use any of them, please notify us so we will be able to keep you informed about upcoming changes. </Warning>
Returns the recipient fields and template variables needed to prepare a feedback email campaign for the given feedback form and email template.
Use this endpoint before Send a feedback email campaign to determine which keys to include in each recipient payload.
get/feedback/campaign/requirements
Query parameters
feedback_form_idstring required
ID of the feedback form to associate with the campaign
feedback_email_template_idinteger required
ID of the email template to inspect
Response
Campaign requirements retrieved successfully
Example response
{
"feedback_form_id": "5a3f8c2e1b4d7f9a0c6e2b18",
"feedback_email_template_id": 42,
"recipient_fields": [
"email_address",
"unsubscribe_url"
],
"variable_fields": [
"first_name",
"store_code"
]
}