# Get All User Groups for Community

{% hint style="warning" %}
All API requests should contain [authorization headers](https://developers.socialboards.com/docs/apis/tickets/authorization-headers).
{% endhint %}

#### Request&#x20;

```
GET /UserGroups
```

#### Query Parameters

This endpoint doesn't require query parameters.

#### Response

```json
{
    "data": [
        {
            "id": 1,
            "name": "First group"
        },
        {
            "id": 2,
            "name": "Second group"
        }
    ],
    "errorCode": -1,
    "errorText": null
}
```

`Data` field will contain an array of [User group](https://developers.socialboards.com/docs/apis/tickets/reference/objects/user-group) objects.
