How do I know the stage of the deal before it won?

Hello there,

I would like to know how will I able to get the stage of the deals before it won. Currently, I have 8 thousand deals which I need to know to pull their stages before their status changes to won. This is possible with webhooks but this is only applied to the new deal.

Hi Allan,

Do you move the deal to a new stage when it is Won or leave it in the same?

One thing you can do, is use GET /deals/{id} and then look at the body for stay_in_pipeline_stages. Assumedly from here you can figure out what the last Stage was.