Best way to use API to determine if emails have been sent? | Community
Skip to main content
New Participant
January 5, 2023
Solved

Best way to use API to determine if emails have been sent?

  • January 5, 2023
  • 3 replies
  • 2059 views

 

Hi all,

Our software developer is trying to determine the best way to utilize the Marketo API to determine if an email was sent out by Marketo.  What would be the best API endpoint/field to use in order to determine this?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Darshil_Shah1

Off the top of my head, I think you should use the bulk activity extract API, and filter results by the email sent activity type id to get hold of people with send email activities (there are a bunch of filter options available for the bulk activity extract API, if you want to explore). You could then filter the results to get the email send activities for a particular email asset. Also, generally speaking, Marketo users usually create an email performance report in the platform itself to determine email metrics (including sent, delivered, CTR, etc.).

3 replies

mp_9000Author
New Participant
January 5, 2023
SanfordWhiteman
New Participant
January 5, 2023

Either Bulk Activity Extract (CSV) or Bulk Activity Export (JSON, paginated) filtered by the Activity ID for Sent Email.

 

Note the campaign that sent an email isn't your focal point, it's more of a "second-class" attribute of the log entry. The first-class attribute is the send activity, which will be logged for every person who received it.

Darshil_Shah1
Darshil_Shah1Accepted solution
Community Manager
January 5, 2023

Off the top of my head, I think you should use the bulk activity extract API, and filter results by the email sent activity type id to get hold of people with send email activities (there are a bunch of filter options available for the bulk activity extract API, if you want to explore). You could then filter the results to get the email send activities for a particular email asset. Also, generally speaking, Marketo users usually create an email performance report in the platform itself to determine email metrics (including sent, delivered, CTR, etc.).