How to fetch engagements of particular contact?

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=1521787487822

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

Hi @Guna_Pandian,

You can use the ‘Get associated engagements’ endpoint:

developers.hubspot.com

Get Associated Engagements | Engagements API

GET /engagements/v1/engagements/associated/:objectType/:objectId/paged - Get engagements associated with another CRM object via the HubSpot API.

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

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