Using API to get lead activities from specific asset

Issue


When using the GET Activities API with a specific list Id in the parameter, the response will get all the specified activities from other assets as well.

This is the endpoint for this article.

 

 


Solution


Instead of using list Id (listId) as a parameter, change that to asset Ids (assetId) in the API call.

The Asset ID (assetId) is the Id of the primary asset for an activity.

Then, the response will narrow down the activities associated to the primary asset by looking up the Id during the call.


Labels (1)