Number of people in group from API

Good day! Does somebody know: How I can get a number (total count) of people from specific group by Okta API?
Thank you!

I believe you will have to paginate through all and perform count on output: https://developer.okta.com/docs/reference/api/groups/#list-group-members

1 Like

You can find the group and see how many members it has:

GET /api/v1/groups?q=Everyone&expand=stats

then look at _embedded.stats.usersCount. see Groups | Okta Developer

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.