Documents and Deals


i would like to easily get the correspondance between a document ID (file attached to a Deal) and it’s Deal ID . I have seen that the endpoint https://…/crm/sales/documents gives all documents but no ID of the Deal or object the document is attached to…

The only way i see is to call each Deals with the “document_associations” endpoint https://…/crm/sales/api/deals/[DealID]/document_associations and store the correspondance DealID ↔ Document ID … but is is a lot of calls …

is there an easiest way ?