get deals under a pipeline

Is there an API that gets all deals under a pipelineid?

Hi @CRedmon

We do not currently provide any endpoints that will allow us to target Deals from a specific Pipeline in your portal.

Currently, the options we have available are:

GET Pipelines for a specific object type

https://developers.hubspot.com/docs/methods/pipelines/get_pipelines_for_object_type

Note: This endpoint will only return the structure of your pipelines, no deal data for deals currently in the pipeline.

GET All Deals

Note: This endpoint will return all deals in your portal, each request will also return two values, offset and hasMore. If hasMore is true, you’ll need to make another request, using the offset to get the next page of deal records.

GET A Deal

https://developers.hubspot.com/docs/methods/deals/get_deal

Note: This endpoint returns an object representing the deal with the id :dealId associated with the specified account.

In each case, these endpoints return specific data that does not drill into specific pipelines. If you’re looking to retrieve specific deals, the last ‘GET A Deal’ endpoint will be your best bet as this allows you to specifically target a deal via its ID.

I hope this helps!