When using the OAuth approach calling https://api.pipedrive.com/api/v1/deals
only returns deals I created. It omits deals created by other users.
Using an api_token, calling the same API endpoint also returns only deals I created.
Looking at the docs there is no additional parameter I can use to get all deals.
Can someone from Pipedrive weigh in please?
Answering my own question:
-
/deals
returns everyone’s deals. You can use owned_by_you
(0|1) to limit the results.
-
/stages/:stage/deals
does not return everyone’s deals by default. You have to pass the everyone
(0|1) parameter to expand the results.
It would have made sense the Pipedrive API would use the everyone
parameter both for /deals
and /stages/:stage/deals
but the API architect decided otherwise 
Hope this helps someone.
1 Like