pardot / api-docs

29 stars 30 forks source link

API - %%unsubscribe%% vs {{unsubscribe}} #211

Closed koncarstojan closed 4 years ago

koncarstojan commented 4 years ago

Using the /api/email/version/4/do/send we are able to send/schedule emails. One of the required fields is

text_content | x* | string | The text body of the email. This must contain either %%unsubscribe%% or %%email_preference_center%%.

The same rules are applied for html_content field.

Nothing wrong with that.

When we try to edit the HTML (submited using the API) with the editor in Pardot, an error appears:

Screenshot 2019-12-26 at 11 15 17

Looks like the %%unsubscribe%% is outdated - but without it - it's not possible to submit the API request.

Is there are maybe v5 of your API which supports new handlebar syntax or some workaround for us?

Best, Stojan

ghost commented 4 years ago

I've notified the Email team (W-7059680). If you need support soon, please contact Pardot Support.