Can't filter by pipeline_id

Hi,

I’m new to this API, but I’m running into an issue I don’t seem to be able to get around. This is the request I’m sending (just using Chrome):
https://api.pipedrive.com/v1/deals:(id,title,pipeline_id)?api_token=&status=open&pipeline_id=7

I’m getting back results for every pipeline_id, not just 7.

Am I missing something?

Thanks,
James

Hello, @JamesBender and welcome to the community! :wave:

The GET /deals endpoint supports filtering the results by the stage_id, and not pipeline_id. All the supported fields can be found here in the API Reference.

To narrow down the results specifically by the pipeline (not just the stage in the pipeline) they belong to, you can create a filter → here’s the Filters API documentation and here’s the tutorial for adding a filter.

Let us know if you have any more questions!
Sincerely,
Helena