How to retrieve Sonarcloud API data with paginates results

Hello Team,

I’m using Sonarcloud Web API call(GET api/users/search) to fetch list of users. When I run this API Call, I’m getting only first 50 result. Could you please let me know how to retrieve the full result in single page? or how to retrieve the data of next page?

You can adjust the page size like this (up to 500)

https://sonarcloud.io/api/users/search?ps=500

And the page you’re on like this:

https://sonarcloud.io/api/users/search?ps=500&p=2

Hello Colin,

Thanks for the response, It works.

I could see https://sonarcloud.io/api/users/search is not retrieving all user’s email ids, only my email address is retrieved. So is there any API that can retrieve all user’s email ids.

No, the SonarCloud API doesn’t return the e-mail addresses of users.