Ability to exclude metadata for any object API call



Our use case is that we want to return the all-time count of all engagement types for all contacts, but the metadata for emails (the body, specifically) is exploding the size of our calls and completely unnecessary for what we are trying to accomplish.


We were thinking that either adding the ability to include properties on the engagements API calls would be one way to solve the problem - though we would need those detailed out to know what we could include/exclude.


The other idea was to leverage "includeMetadata=boolean" or something similar to completely remove all metadata.


I was asked to post this generically as it might work for other scenarios outside of our use case.



HubSpot updates