<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
How to Use Okta APIs to List Users in a Group
Lifecycle Management
Okta Classic Engine
Okta Identity Engine
Overview
This article details and demonstrates in a video the steps required to use Okta API calls to list users in a group. 
Applies To
  • Postman
  • Okta User API
  • Okta Groups API
Solution

In this video, learn how to use Okta APIs to list users in a group.


 


In order to pull a list of users in a group in an Okta Org, use the Okta API List Group members via Postman. Review the Postman documentation for set-up instructions and then import the Groups' collection after Postman is installed.

Follow these steps after configuring Postman:

  1.  Search Groups by name:  GET {{url}}/api/v1/groups?q=NAME

  2. Get the groupId from the API response. 

  3.  List Group members GET /api/v1/groups/${groupId}/users.
    List group members

Admins can then convert the API responses to a CSV file using the conversion method of their choice.

Loading
How to Use Okta APIs to List Users in a Group