---
title: "Get paginated groups"
method: GET
path: "/groups"
tags: ["Broadcast Groups"]
---

# Get paginated groups

`GET /groups`

Returns a list of paginated groups based on search criteria and pagination parameters

## Query parameters

- `searchQuery` string — Search query
- `orderBy` 'NAME' | 'DATE_CREATED' — Order by
- `format` 'ASCENDING' | 'DESCENDING' | 'ascending' | 'descending' — Order format
- `afterGroupId` string — Group ID after which the groups are to be fetched
- `afterGroupName` string — Group name after which the groups are to be fetched
- `afterDateCreated` string, date-time — Group date created after which the groups are to be fetched

## Response `200`

OK

- GetPaginatedGroupsResponseDto
  - `groups` GetGroupResponse[] — Array of groups
    - `groupId` string — Group ID
    - `groupChatId` string — Group Chat ID
    - `groupChatName` string — Group chat name
    - `memberCount` string — Total members in the group
    - `canManageGroupAccess` boolean — Boolean to check if the user can manage group access
    - `groupAccessLevel` 'FULL_ACCESS' | 'SEND_ONLY_ACCESS' | 'NO_ACCESS' — The level of access the user has to the group
  - `paginationParams` GetGroupsPaginationParams
    - `afterGroupId` string — Group ID after which the groups are to be fetched
    - `afterGroupName` string — Group name after which the groups are to be fetched
    - `afterDateCreated` string — Group date created after which the groups are to be fetched

## Other responses

- `400` — Bad request, invalid input provided
- `401` — Invalid or missing API key

---

[API](https://skmtc.net/doubletick/apis/doubletick-public-apis.md) · [All operations](https://skmtc.net/doubletick/apis/doubletick-public-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/doubletick/doubletick-public-apis/versions/bba484527d34/schema)
