Email preview via api

I have a .net app which allows users to select an email and send to a list of subscribers. I’d like to provide the user with a preview or thumbnail of the email they select before they send it.

Is this possible to do using the soap api or fuel sdk? I’ve seen a couple of questions related to thumbnails but none have been answered. The previewURL property would be nice to use but it seems to only be part of the Send object and not the Email object for some reason.

Answer

There is a route that will return HTML for an email –

POST https://www.exacttargetapis.com/guide/v1/emails/{your email id}}/preview?kind=html,text

This should return a payload for you including the rendering in HTML of the message for preview.

Let me know if you get that working.

Attribution
Source : Link , Question Author : DByra , Answer Author : Kelly J Andrews

Leave a Comment