APIs & Integrations


Query URL to get Contacts, deals and deal stage

I created a custom report using custom report builder that uses two data sets: Deals and Contacts.

I see following data:

Contact, Deal and Deal stage.

Next, I want a QueryURL that can bring the same data for me. But not able to write a queryURL that can do this for me. Please help!!!!!


0 Avaliação positiva
1 Resposta 1
Alunos da HubSpot
Alunos da HubSpot

Query URL to get Contacts, deals and deal stage

Hi Avinash,

It sounds like you need to use the "Get all deals" GET request and specify in your URL "&properties=dealstage" as well as "includeAssociations=true". This will return all your deals, with their associated contact vids and deal stage property values.

You can see how you would structure your url in this article: https://developers.hubspot.com/docs/methods/deals/get-all-deals

0 Avaliação positiva