How to get all emails sent via API?

Hi,

How can I get the HTML and contact data for each email sent?
For now I’m trying to use the “api/3/logs” endpoint but there is no documentation, therefore it might not be officially supported.

Is there any better way to do this?

If the “logs” endpoint is supported, how does it work?
Does it stores all emails sent or does it have a limit and what is the limit? What happens when it reaches its limit?

Any help would be greatly appreciated!

Hi mongeralaegon1562248,

Biannca here from our CX team, sorry we missed this when it was originally published.

To get the HTML all campaign messages you need to run this API endpoint https://developers.activecampaign.com/reference/list-all-messages. From there, just view the html filter to get the HTML.

Please don’t hesitate to reply back out if you have any further questions.