---
title: "List all existing contact groups"
method: GET
path: "/v1/contactgroups"
tags: ["ContactGroup"]
---

# List all existing contact groups

`GET /v1/contactgroups`

## Query parameters

- `Id` integer
- `DepartmentId` integer
- `Name` string
- `Fields` string
- `ViewType` 0 | 1 — <p>Enum values:</p><ul><li><i>0 = List</i></li><li><i>1 = Kanban</i></li></ul>
- `Page` integer
- `ItemsPerPage` integer
- `ReturnTotalItems` boolean
- `sortCol` string
- `sortDir` string

## Response `200`

OK

- ContactGroupResponseModelQueryResult
  - `totalItems` integer
  - `items` ContactGroupResponseModel[], nullable
    - `id` integer
    - `departmentId` integer
    - `name` string, nullable
    - `notes` string, nullable
    - `contactCount` integer
    - `openDeals` integer
    - `wonDeals` integer
    - `openTickets` integer
    - `resolvedTickets` integer

---

[API](https://skmtc.dev/infoset/apis/infoset-rest-api.md) · [All operations](https://skmtc.dev/infoset/apis/infoset-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infoset/infoset-rest-api/revisions/f5bc39a1ac15/schema)
