APIs & Integrations

zigi
Member

Get Engagements - filtering & properties

SOLVE

Hi, 

I see that "getting" engagements currently exists only with the old API.

API docs 

In the doc, there is no reference for neither filtering (by owner/contact/deal/date)

nor the ability to select properties.

Engagements can easily become very heavy for API calls (containing emails data and such)

In my understanding, the only option when pulling engagements is asking for all of them, with all fields, and filtering on the server side if I am looking only for those that are not done for example?

Or is there a way to filter data / require only certain fields?

And I have not looked at the right documentation

 

Thanks in advance

Zigi

1 Accepted solution
tominal
Solution
Top Contributor | Diamond Partner
Top Contributor | Diamond Partner

Get Engagements - filtering & properties

SOLVE

Hi @zigi I hear you.

 

At the moment, the only filtering I can think of is to use the CRM Associations API to get you engagments for specific contacts/companies/deals. It looks like you'll have to get all engagements on a record and loop through it yourself to look for what you want.

View solution in original post

tominal
Solution
Top Contributor | Diamond Partner
Top Contributor | Diamond Partner

Get Engagements - filtering & properties

SOLVE

Hi @zigi I hear you.

 

At the moment, the only filtering I can think of is to use the CRM Associations API to get you engagments for specific contacts/companies/deals. It looks like you'll have to get all engagements on a record and loop through it yourself to look for what you want.

dennisedson
Community Manager
Community Manager

Get Engagements - filtering & properties

SOLVE

@tominal , any thoughts here?

@zigi , as an FYI, I believe the answer to this will change sooner than later 😀

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show