<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000A18yBPCQYOkta Classic EngineAPI Access ManagementAnswered2024-02-27T18:08:13.000Z2024-02-27T10:54:42.000Z2024-02-27T18:08:13.000Z

FedraA.42330 (Customer) asked a question.

Can't Get list all OKTA users via API because of max response limit 200

Hi OKTA,

I want to get all OKTA users list in my company via API but the max result is only 200 even i already add parameter "limit" and set value as "1000". Do you have solution for this?

Thanks! Regards.

 


  • TimL.58332 (Workflows)

    @FedraA.42330 (Customer)​  - Hi Fedra. The link you provided is showing code to perform "Pagination".

     

    In general most API's are just going to provide back a specific subset of results with some max return value. For Okta this is usually 200 results on most endpoints. You can then return the next "page" of results and either process them one page at a time or concatenate them for later use.

     

    For example when you go to a website that returns results and at the bottom of the page there is a 1 2 3 4 ...55 they have pagination built into their website. The results you see on that page are one API call. Clicking 2, 3 and so on will perform pagination to make a new call for that specific page of data then display it to you.

    Expand Post
This question is closed.
Loading
Can't Get list all OKTA users via API because of max response limit 200