How to search for a Deal and return the Contact ID that it's associated with?

Hi all,

I am looking at Freshsales | Refreshingly new CRM & Deal Management Software, and I understand that we can retrieve a Deal record by Deal ID.

Eg:
curl -H “Authorization: Token token=XXXXXXXXX” -H “Content-Type: application/json” -X GET “https://XXXXXX.myfreshworks.com/crm/sales/api/deals/170012345678

The above return the Deal record, but it did not include the Contact (ID) that this Deals belong to.

What I want to achieve is to get the Contact record that is associated with this Deal.

Could you please advise how can I achieved this please?

Thank you.

1 Like

Hi @cky! Does adding ?include=contacts to the URL give you what you want?

3 Likes

Hi Kaustav,

Thanks for your response.
Yes, we have found this way to achieve it, ie: adding ?include=contacts to the URL

Thank you.

3 Likes