APIs & Integrations

Non applicable

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

Résolue

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 Votes
1 Solution acceptée
Derek_Gervais
Solution
Ancien salarié HubSpot
Ancien salarié HubSpot

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

Résolue

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:

Voir la solution dans l'envoi d'origine

0 Votes
2 Réponses
Derek_Gervais
Solution
Ancien salarié HubSpot
Ancien salarié HubSpot

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

Résolue

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 Votes
Non applicable

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

Résolue

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