Get the total record count

Hi All,

I would like to know how to get the total records count using the okta api.
For example For user table i need to how many records using teh okta api

Thanks

1 Like

Paginate through then use count function:

https://developer.okta.com/docs/reference/api-overview/#pagination

Hi
I using api (https://zzzz.okta.com/api/v1/users?limit=200 , in the response i am getting the 200 records but i am not getting the next url details in the response , so i can’t loop it, please let me know how to get the next url.

Thanks

Check rel=“next” header

I need to specify rel=“next” in the header as part of the api call

I specified in header rel=“next” but still in my response i am not getting next url.

Thanks

Hi

I can’t find the count function in the Paginate api document.
Please let me know how to use the count function.

Thanks

For heavens sake, what is the cursor I am supposed to provide for the “after” header? If its not the current page count?! Its unfathomable why Okta won’t allow querying total user count!

Never mind, the link header provides the cursor apparently.