---
ai:
  exclude: true
search:
  tags:
    - Group
    - GET
seo:
  description: >-
    Get a paginated collection of user groups. Reference for the GET
    /rest/api/group endpoint in the Confluence Data Center API.
sidebar:
  label: Get groups
  badge: GET
title: Get groups
type: openapi-operation
---
Get a paginated collection of user groups

`GET /rest/api/group`

**Responses**

- `200` — The number of user groups in the system
- `403` — The calling user does not have permission to view groups

Response example, 200:

```json
{
  "results": [
    null
  ],
  "start": 25,
  "limit": 25,
  "size": 25,
  "_links": {
    "base": "http://localhost:8085/rest/api",
    "self": "http://localhost:8085/rest/api",
    "context": "http://localhost:8085/rest/api",
    "next": "http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50",
    "prev": "http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"
  }
}
```
