I’m trying to use GET /crm/v4/objects/{fromObjectType}/{objectId}/associations/{toObjectType}
in order to get all files attached to a specific deal.
fromObjectType(0-3) and objectId are easy to figure out, but i cannot find the Object type ID for files
am I missing something I should find here → Understanding the CRM APIs - HubSpot docs
@MBevell - Files are not associated objects for a Contact/Deal etc. For whatever reason they are tied to engagements on the record. You will need to list those engagements to find attachments which resolve to FileIds.
Steve