Companies API - How to get who made the latest activity and with which contact




I'm using Companies API to pull data about our companies.
I could easily get when was the last activity with a company, but is there a way that I could know which user made this activity and with which contact inside the company it happened?



Hi @Asaf_Nevo,

This is absolutely possible with the Engagements API. Specifically, I recommend using the Get Associated Engagements endpoint and filtering by the COMPANY object type. For example:


Thanks! Ill give it a try.
That brings a follow up question.

Is there a way to query an endpoint?

Like get al engagement of companies with property x?


Hi @Asaf_Nevo,

At this time, it's not possible to query companies in the same way as this Contacts API endpoint. The two most similar endpoints are: