Skip to content

userGroups

Fetch paginated user groups collection

Arguments

check_group_level_actions · Boolean · checks the allow_group_level_actions permission on org membership
after · Cursor · Cursor to fetch results after

Returns

[UserGroup!]

Example

query userGroups(
$keywords: String
$check_group_level_actions: Boolean
$sort_by: String
$order_by: UserGroupOrderKeys
$offset: Int
$should_paginate: Boolean
$page_size: Int
$after: Cursor
) {
userGroups(
keywords: $keywords
check_group_level_actions: $check_group_level_actions
sort_by: $sort_by
order_by: $order_by
offset: $offset
should_paginate: $should_paginate
page_size: $page_size
after: $after
) {
created_at
cursor
doc_share_id
id
invite_code
name
onboarding_flow
onboarding_flow_id
recurring_forms
recurring_forms_count
user
user_ids
users
users_count
users_with_membership
}
}