List Workspace Members

List the members of a workspace, inherited roles included.

List the members of a workspace, newest organization member first, including members whose role is inherited. Members have no id of their own: first_id, last_id, after_id and before_id are user IDs.

GET /v1/organizations/workspaces/:workspace_id/members

Path parameters

workspace_idstringrequired

The workspace's ID.

Query parameters

limitintegeroptionalDefault 20

Items per page, 1 to 1000.

after_idstringoptional

Return the page after this ID (older items). Pass the previous page's last_id.

before_idstringoptional

Return the page before this ID (newer items). Pass the previous page's first_id.

Response

dataWorkspace member[]optional

[Workspace member objects](/api-reference/admin/workspace-members#the- workspace-member-object).

has_morebooleanoptional

true when there are more items beyond this page.

first_idstring | nulloptional

ID of the first item on this page, or null if the page is empty.

last_idstring | nulloptional

ID of the last item on this page, or null if the page is empty.

Errors

StatusReason
400limit is out of range, both after_id and before_id are set, or the cursor ID doesn't exist.
404No workspace with this ID exists in your organization.