APIs & Integrations

zigi
Mitglied

Get Engagements - filtering & properties

lösung

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 Akzeptierte Lösung
tominal
Lösung
Ratgeber/-in | Partner
Ratgeber/-in | Partner

Get Engagements - filtering & properties

lösung

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.


Thomas Johnson
Community Champion


Kahu Software LLC
A Texan HubSpot consulting firm
https://kahusoftware.com

Lösung in ursprünglichem Beitrag anzeigen

5 Antworten
NArtadi
Mitwirkender/Mitwirkende

Get Engagements - filtering & properties

lösung

Hello, joining the conversation also. Is it possible to filter engagements, specifically CALLs based on the metadata? The rest is not useful information. The only data I get from the API is:

'properties': {'hs_createdate': '2016-12-15T15:24:52.051Z',

                             'hs_lastmodifieddate': '2021-01-06T10:09:21.745Z',

                             'hs_object_id': '159349245'

0 Upvotes
PDev2
Mitglied

Get Engagements - filtering & properties

lösung

I need to get calls associated with a particular contact created within last few seconds, I have tried to use the search API but it doesn't works if I put an association property that is "association.contact" and another filter on

"hs_lastmodifieddate". Any suggestions on how to get this?
BSatti
Mitglied

Get Engagements - filtering & properties

lösung

Any updates on this, we ned to filter the engagements by date, companyId?

0 Upvotes
tominal
Lösung
Ratgeber/-in | Partner
Ratgeber/-in | Partner

Get Engagements - filtering & properties

lösung

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.


Thomas Johnson
Community Champion


Kahu Software LLC
A Texan HubSpot consulting firm
https://kahusoftware.com
dennisedson
HubSpot-Produktteam
HubSpot-Produktteam

Get Engagements - filtering & properties

lösung

@tominal , any thoughts here?

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