Retrieve all client groups with basic pagination support
This endpoint returns a paginated list of all client groups in the tenant, including assigned partner/manager staff and office information.
Key Features:
- Basic pagination with configurable page sizes (default: 50 records)
- Default sorting by client group name (ascending) then creation date (descending)
- Total count aggregation for pagination metadata
Real Example:
curl --location 'https://{{host}}/v1/client_groups' \
--data '{
"pageSize": 25,
"page": 0
}'Security
BearerAuth
- Mock serverhttps://api.doc.aiwyn.ai/_mock/bundle/gql/v1/client_groups
- Sandboxhttps://demo.api.aiwyn.ai/gql/v1/client_groups
- Staginghttps://staging.api.aiwyn.app/gql/v1/client_groups
curl -i -X POST \
https://api.doc.aiwyn.ai/_mock/bundle/gql/v1/client_groups \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"pageSize": 25,
"page": 0
}'Response
- Typical response with client group data
- Empty result set
{ "clientGroups": [ { … }, { … } ], "total": { "aggregate": { … } } }