Zendesk Sell REST API '/pipelines' endpoint does not return all pipelines. | Community
Skip to main content

Zendesk Sell REST API '/pipelines' endpoint does not return all pipelines.

  • February 6, 2024
  • 1 reply
  • 0 views

Hi!

I am using the Zendesk Sell REST API version '2' and authorized on behalf of a user who has the 'admin' role. The user has all permissions. I want to load all pipelines, but for some reason, the '/pipelines' endpoint does not return all pipelines, even though the '/stages' endpoint returns stages that reference pipelines that are not in the list. 

What could be the problem? 

Thanks, 

Anton. 

1 reply

  • February 9, 2024

Hey!  
The cause of this is likely one of 2 reasons.  

1. Pagination:

  • Check if the API responses are paginated. If the /pipelines endpoint paginates its results, you might be receiving only a subset of pipelines in each response. Make sure to paginate through all the pages of results to retrieve all pipelines.


2. Pipeline Limitations:

It might be worth having that user check their account/reach out to Support to ensure they have the right sell plan to accomplish your goals.