APIs & Integrations

Guna_Pandian
Member

How to fetch engagements of particular contact?

SOLVE

To get engagements of all contacts I'm using below api:
http://api.hubapi.com/engagements/v1/engagements/recent/modified?offset=0&count=100&since=1521787487...

Is there any api or any parameter to add for fetching engagements of particular contact?
I just wanted to get engagement entries of a contact by passing contact's id.

Thanks,
Guna

0 Upvotes
1 Accepted solution
Derek_Gervais
Solution
HubSpot Alumni
HubSpot Alumni

How to fetch engagements of particular contact?

SOLVE

Hi @Guna_Pandian,

You can use the 'Get associated engagements' endpoint:

View solution in original post

3 Replies 3
Derek_Gervais
Solution
HubSpot Alumni
HubSpot Alumni

How to fetch engagements of particular contact?

SOLVE

Hi @Guna_Pandian,

You can use the 'Get associated engagements' endpoint:

yann_c
Member

How to fetch engagements of particular contact?

SOLVE

Hello there!

 

I am facing a little problem and I may need your help:

 

I'd like to fetch the most recent engagements associated with a contact.

The new associations API endpoint returns everything. The 'recent' engagement's endpoint returns those but the results are not filtered by the contact ID and I may have to paginate for a while in order to find at least 10 engagements for the exact contact ID.

 

Is there any way to fetch only the RECENT engagements associated with a contact without making tons of requests? (I wasn't able to find what I wanted nor in CRM Associations API documentation nor in Engagements API documentation, batch limits but no sorting order).

 

Am I missing something?

 

Please, advise.

 

Kindest regards,

Alexis Murer

JuanReyes
Participant

How to fetch engagements of particular contact?

SOLVE

Ey! Same problem here... there is some elegant solution to this?

0 Upvotes