Jun 21, 2019 5:28 PM
Are you asking about how to get the JSON for an email template that lives in your HubSpot account? If that's the case, you can use the CMS Templates API, which is documented here: https://developers.hubspot.com/docs/methods/templates/get_templates_template_id. Making a successful to request to that endpoint will return the JSON for the template.
Or are you asking how to import your external email into HubSpot? You may need to adjust the format of your JSON, but it's possible you could create an email template using the CMS Templates API: https://developers.hubspot.com/docs/methods/templates/post_templates, and then you could create an email from the template.
But if I've misunderstood what you're asking, let me know and I'll be happy to take another look.
Leland ScanlanHubSpot Developer Support
Jun 24, 2019 5:20 AM
thank you for your answer. I can not understand how to use your documentation.
I try to re-explain my request :
I have a json file on a remote server with wordpress with all of my post blog on this server with wordpress, and I would like to use it in a loop in a template email hubspot to display my posts.