Returns a list of user groups based on the specified filters.
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
Query parameters
-
Page Number
Default value is
1. -
Field to sort by
-
Sorting direction
Values are
ASCorDESC. Default value isASC. -
Size per page
Default value is
60. -
User group ID filter.
Multi-value supported. Example: value1;value2 -
User group type filter
Values are
GROUPorSUPER_GROUP. -
Group name filter
-
Group description filter
-
Contact ID of the user who created the group.
Multi-value supported. Example: value1;value2
GET
/api-v1/user-group
curl \
--request GET 'https://wyzio.app/api-v1/user-group'
Response examples (200)
[
{
"id": 42,
"type": "GROUP",
"name": "string",
"description": "string",
"organizationId": 42,
"creatorContactId": 42
}
]