APIs & Integrations

tommitchell
Contributor

API - return deals for specific list

SOLVE

Hi - I'm trying to GET all deals associated with a specific contacts list but not having much joy. I've tried the below but it's not working, can anyone advise a solution please? Thank you!

https://api.hubapi.com/deals/v1/deal/associated/lists/930/

0 Upvotes
1 Accepted solution
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

API - return deals for specific list

SOLVE

Hi again, @Tom_Mitchell.

Per my initial response in this topic:

The Get associated deals endpoint does not support the objectType "lists." Per the documentation, only contact or company can be used.

To get all deals associated with the contacts in list 930 , you must first use this endpoint and loop through each returned vid.

Isaac Takushi

Associate Certification Manager

View solution in original post

0 Upvotes
1 Reply 1
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

API - return deals for specific list

SOLVE

Hi again, @Tom_Mitchell.

Per my initial response in this topic:

The Get associated deals endpoint does not support the objectType "lists." Per the documentation, only contact or company can be used.

To get all deals associated with the contacts in list 930 , you must first use this endpoint and loop through each returned vid.

Isaac Takushi

Associate Certification Manager
0 Upvotes