API - getting list of all users

So I’m trying to use the API, https://api.atlassian.com

I can successfully pull a list of users, but only 50 of them. What do I need to pass to get the next 50?

You can request it chunk by chunk. Use startAt parameter to request next portion.

As I know, the general approach is to use API for search and not to return a list of all users. At least I tried to fetch a huge list of users and not succeeded. Atlassian support suggested not use it like that at all. Only for search.

I tried plugging StartAt in the headers and body, but didn’t work.

I tried adding it to the end of the url as follows, and it didn’t work


edit - nevermind, found the answer. the JSON response contains a link to the next chunk of data…

1 Like