List Group Members (Paginated)
GraphQL endpoint: /user
Lists the members of a group, with each member's role. The group's member list is only visible to callers allowed to view it (for example, members of the group). Results are cursor-paginated: pass limit and the previous page's nextCursor as cursor to fetch the next page.
Query
query ($groupId: ID!, $limit: Int, $cursor: String) {
userGroupMembers(groupId: $groupId, limit: $limit, cursor: $cursor) {
paginationInfo {
limit
nextCursor
}
records {
role
user {
id
}
}
}
}
Variables
Response
Last updated
Was this helpful?