Get campaign requirements
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.
Authorizations
The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.
Query Parameters
ID of the feedback form to associate with the campaign
ID of the email template to inspect
Response
Campaign requirements retrieved successfully
ID of the feedback form associated with the campaign
"5a3f8c2e1b4d7f9a0c6e2b18"
ID of the email template used to compute campaign requirements
42
Recipient-level fields supported by the send endpoint.
This list currently includes email_address and unsubscribe_url.
email_address, unsubscribe_url Template variable names recipients should provide under variables,
sorted alphabetically.