> For the complete documentation index, see [llms.txt](https://docs.vomevolunteer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vomevolunteer.com/resources/groups/the-group-object.md).

# The Group Object

#### Example Response

```json
{
    "count": 8,
    "next": null,
    "previous": null,
    "results": [
        {
            "id": "64fd9793-0b67-4b02-a163-f2a7216292af",
            "name": "Acme Corp Volunteer Team",
            "description": "Employees volunteering through our corporate partnership"
        }
    ]
}
```

### Group Object

* **id** (`string`): A unique identifier for the group, stored automatically by Vome.
* **name** (`string`): The name of the group.
* **description** (`string` | `null`): An optional description of the group.

{% hint style="warning" %}
Group names are **not** unique in Vome. Two groups can legitimately share a name. Whenever you can, refer to a group by its **id** rather than its name.
{% endhint %}

### Group roles

Every membership carries a role:

* `0` = Member
* `1` = Leader

### Groups on a profile

When you retrieve a profile, its active group memberships appear with the group's ID, name and the profile's role in that group:

```json
"group_users": [
    {
        "id": "64fd9793-0b67-4b02-a163-f2a7216292af",
        "name": "Acme Corp Volunteer Team",
        "role": 1
    }
]
```

Only active memberships appear here. Someone who has been invited but has not joined, or who has been removed, is not listed.
