APIs & Integrations

Not applicable

API call to get email events for a list of recipients?

SOLVE

I saw in the API documentations that I can:

  1. Get Email Event By ID
  2. Get email events

In the second option (Get email events), there is an option to get events by "Recipient Email Address", is there any way to get events by a list of recipients?
or should we do multiple requests for every email?

Second question: is there any API to get only the last update event?

0 Upvotes
1 Accepted solution
Derek_Gervais
Solution
HubSpot Alumni
HubSpot Alumni

API call to get email events for a list of recipients?

SOLVE

Hi @gallib2,

It's not currently possible to pull email events for a list of recipients; you'll need to make a separate request for each recipient. Additionally, there isn't an API to just get the most recent event, but you can request campaigns with the most recent activity:

View solution in original post

0 Upvotes
2 Replies 2
Derek_Gervais
Solution
HubSpot Alumni
HubSpot Alumni

API call to get email events for a list of recipients?

SOLVE

Hi @gallib2,

It's not currently possible to pull email events for a list of recipients; you'll need to make a separate request for each recipient. Additionally, there isn't an API to just get the most recent event, but you can request campaigns with the most recent activity:

0 Upvotes
Not applicable

API call to get email events for a list of recipients?

SOLVE

OK, no problem.
Thank you for letting me know! :slightly_smiling_face: