APIs & Integrations

Pulkit_Jaiswal
Member

How do I use the API to grab all the deals that are "closedWon" ? Please help!

How do I use the API to grab all the deals that are “closedWon” ?

What would be the appropriate fetch url?

0 Upvotes
2 Replies 2
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

How do I use the API to grab all the deals that are "closedWon" ? Please help!

Hi @Pulkit_Jaiswal,

It’s not currently possible to request only deals with a certain deal stage. You’ll need to request all deals and pull just the deals with the ‘closedWon’ deal stage:

Get all deals

GET /deals/v1/deal/paged - Get all deals in a portal.

0 Upvotes
Pulkit_Jaiswal
Member

How do I use the API to grab all the deals that are "closedWon" ? Please help!

To elaborate further: I have only one pipeline and I want to retrieve all the deals that are in the closedWon stage

0 Upvotes