How can I get list of every email sent to contacts
SOLVE
Hi @jayjiang, you should actually be able to use the get all contacts endpoint with the property history above to page through your contacts 100 at a time, then make a subsequent call to the GET email events endpoint based on the email addresses returned, but this would be pretty heavy on API calls. As I noted previously, it's technically possible, but probably best to look at higher level data.
How can I get list of every email sent to contacts
SOLVE
Hi @jayjiang, you should actually be able to use the get all contacts endpoint with the property history above to page through your contacts 100 at a time, then make a subsequent call to the GET email events endpoint based on the email addresses returned, but this would be pretty heavy on API calls. As I noted previously, it's technically possible, but probably best to look at higher level data.
How can I get list of every email sent to contacts
SOLVE
I can't believe that this hasn't been resolved or added as reporting functionality. Every company wants to track the emails that a person has received over time. It helps with attribution, optimization, etc. This NEEDS to be on the roadmap. Its painful to comb through JSON to get this!
How can I get list of every email sent to contacts
SOLVE
Hi @jayjiang, sorry, I might have misspoke/misunderstood you. If you just need the names of the emails sent to a contact you should be able to use the get contact by vid endpoint to pull the names of the emails that were sent to a contact. You can do this by specifying the contact property "Last marketing email name", and set the propertyMode to value_and_history. You could then utilize the Email Events API to pull opens/clicks and other email events for a specific email address.
For the GET contacts endpoint, the URL would look something like this: