Is there a way to get the actual html file in Mailchimp API 3.0?
I tried this method, /3.0/templates/{template-Id}?apikey={myAPIkey}
but it's not returning the actual file, it's giving me the thumbnail of the template.
Is there a way to get the actual html file in Mailchimp API 3.0?
I tried this method, /3.0/templates/{template-Id}?apikey={myAPIkey}
but it's not returning the actual file, it's giving me the thumbnail of the template.
I solved this by update campaign content with template id and sections.
require_once('..includes/Mailchimp/Mailchimp.php');
$apiKey = "apikey-usx";
$mailchimpObj = new Mailchimp($apiKey);
printr($mailchimpObj->template['your template id here']);
echo "<pre>";
See the working API: https://devsnook.com/get-mailchimp-template-html-content/