
ZacharyV.07975 (Customer) asked a question.
Hello all,
I am trying to get a full list of our users out of Okta using API calls in Postman. Pagination in Okta API works a little different then in applications I have used previously and I'm hitting a bit of a wall. I've looked over the documentation here: https://developer.okta.com/docs/api/*pagination but that doesn't really help me figure out HOW to use it.
Looking around this community I've seen a few posts about it and I think I'm starting to see the how, do the call with limit=200 then get the link, then do a separate call with that link and rinse and repeat. The issue is, I have nearly 1000 users and doing 5 separate calls to do this doesn't really help much with my goal of helping automate our audit process.
So my question is, is there a way, in Postman, to loop the pagination so it just will return all my users at once instead of me having to do it 5 separate times?
Thank you all in advance!

Hello @ZacharyV.07975 (Customer) Thank you for posting on our Community page!
I have attached a different documentation on this topic below, as it explains the process better. You should be able to setup a script to get this information automatically, however we do not offer scripts from our side, unfortunately this would be something that you will need to setup yourself.
https://support.okta.com/help/s/article/how-to-use-pagination-when-making-api-calls-in-postman?language=en_US
Additionally you can take a look at the RockStar add-on to get a full list of users:
https://support.okta.com/help/s/article/Using-the-Rockstar-Browser-Extension?language=en_US
Thank you for reaching out to our Community and have a great day!
--
Help others in the community by liking or hitting Select as Best if this response helped you.