How to get total number of users and number of users that never signed-in via REST API? Skip to main content
https://support.okta.com/help/answers?id=906f0000000hzxiiac&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Andriy HrytskivAndriy Hrytskiv 

How to get total number of users and number of users that never signed-in via REST API?

Under Admin portal, there is a Reports section (eg myorg-admin.okta.com/reports) with stats on Okta usage. These reports can be exported to a CSV file. Is it possible to get such stats via REST API (some kind of aggregate API, counters and so on)? Is it possible to get a CSV file via REST API or using "api_key" that is used for REST API?

A more concrete example is getting a number of total users and users that never signed-in.

The only way it can be done is to get the whole list of users via REST API and then filter the result. Correct? It would be nice to have a count of items, instead of fetching those all items.
Jaypee ManansalaJaypee Manansala (Okta)
Hi Andriy,

Thank you for posting your inquiries in Okta Community.

This feature is not currently supported. If you are still requiring this functionality, you can submit a Featue Request on the Okta New Ideas Page (https://support.okta.com/help/ideas/ideaList.apexp) and click Post Idea.

Please let me know if you need any additional information. Thank you.

Best,

JP