HubSpot Mail
Hi Team,
This is Suranjan. I am relatively new to HubSpot so require your assistance on the matter below.
Objective:
To create a dashboard similar to the Sales Dashboard in HubSpot titled “Pipeline by Stages” in KlipFolio. Pulling the data from Klipfolio via API.
Actions so far:
-
Tried to pull all “Deals” data through API using the below query. Return around 2500 results.
https://api.hubapi.com/deals/v1/deal/paged?limit=250&propertiesWithHistory=dealstage
However, the data pulled through this Pipeline does not have clearly defined stages such as - Discovery, Validation, Agreement, and Proof (similar to Sales Dashboard in HubSpot), but have Closed Lost/ Won and other predefined stages.
This made me aware that the deals pulled through this query might not all belong to Sales Pipeline (please correct if otherwise) -
Since Sales Pipeline belongs to CRM in Hubspot tried to pull all the deals from CRM Pipeline using the below query.
https://api.hubapi.com/crm-pipelines/v1/pipelines/deals/
Returned around only 30 responses. But, every 3rd JSON file is reporting source as Sales Pipeline which contains the Deal Stages appropriately (screenshot attached)
Question:
How can I export, via API, only the below parameters
- All Deals in Sales Pipeline and only in Sales Pipeline (NOT Renewal Pipeline or Partner Pipeline)
- There seems to be a limit in the numbers of data that can be pulled. Is there a way around to increase the limit. If not please suggest another way.
- In the query can a date parameter be added which will only capture the Deals created on or after 1st January 2020 (this financial year)
Thanks and Regards,
Suranjan


