---
title: "List all chat rooms"
method: GET
path: "/v1/chat/rooms"
tags: ["Chat"]
---

# List all chat rooms

`GET /v1/chat/rooms`

## Query parameters

- `Id` integer
- `DepartmentId` integer
- `ChatId` integer
- `Content` string
- `ChatTags` integer[]
- `AssignedTo` integer
- `Channel` string
- `ClosedActorType` integer
- `ClosedBy` string
- `FromClosingTime` string
- `ToClosingTime` string
- `ContactId` integer
- `CompanyId` integer
- `IsResolved` integer
- `Status` string
- `Url` string
- `CountryCode` string
- `City` string
- `Referrer` string
- `IpAddress` string
- `UtmSource` string
- `UtmMedium` string
- `UtmCampaign` string
- `UtmContent` string
- `UtmTerm` string
- `FromLogTime` string
- `ToLogTime` string
- `FromNextSlaBreach` string
- `ToNextSlaBreach` string
- `SlaId` integer
- `Q` string
- `Fields` string
- `IncludeTranscript` boolean
- `MinCsatRate` number, double
- `MaxCsatRate` number, double
- `ContactPhone` string
- `UnlinkedToTicket` boolean
- `IncludeFeedback` boolean
- `DepartmentScope` DepartmentPageSelection — Selects departments for a page-level query. The query-string value can be `all` or a comma-separated list of positive department IDs, such as `12,34`.
- `ItemsPerPage` integer
- `ViewType` 0 | 1 — <p>Enum values:</p><ul><li><i>0 = List</i></li><li><i>1 = Kanban</i></li></ul>
- `Page` integer
- `ReturnTotalItems` boolean
- `sortCol` string
- `sortDir` string
- `isExport` boolean

## Response `200`

OK

- ChatRoomQueryResult
  - `totalItems` integer
  - `items` ChatRoom[], nullable
    - `id` integer
    - `userRatingId` integer, nullable
    - `userRatingScore` number, double, nullable
    - `accountId` integer
    - `departmentId` integer
    - `companyName` string, nullable
    - `departmentName` string, nullable
    - `widgetLanguage` string, nullable
    - `chatId` integer
    - `roomId` integer
    - `rootId` integer
    - `channel` 1 | 2 | 3 | 4 | 5 | 8 | 10 | 11 | 13 | 14 | 15 | 16 — <p>Enum values:</p><ul><li><i>1 = Chat</i></li><li><i>2 = WhatsApp</i></li><li><i>3 = Facebook</i></li><li><i>4 = Twitter</i></li><li><i>5 = Instagram</i></li><li><i>8 = Telegram</i></li><li><i>10 = Email</i></li><li><i>11 = Sms</i></li><li><i>13 = GooglePlay</i></li><li><i>14 = AppStore</i></li><li><i>15 = Trendyol</i></li><li><i>16 = Tescom</i></li></ul>
    - `channelId` integer, nullable
    - `channelName` string, nullable
    - `visitor` string, nullable
    - `visitorName` string, nullable
    - `visitorPhoto` string, nullable
    - `assignedTo` integer
    - `assignedToGroup` integer
    - `assignedAgentType` string, nullable — Owner kind for Infoset.Types.Models.Responses.ChatRoom.AssignedTo: "none" | "human" | "chatbot" | "genai". `chat_tables.AGENT_ID` carries no discriminator, so the id alone cannot distinguish a human agent from either bot. Only populated by SELECTs that compute it (see `ChatOwnerKindSql.AssignedAgentTypeCase`); null elsewhere.
    - `chatBotId` integer — The RiveScript bot bound to the room's widget, or 0. Independent of Infoset.Types.Models.Responses.ChatRoom.AssignedTo on purpose — "a bot is bound to this room" and "a bot owns this room right now" are different questions. Only populated by SELECTs that resolve the widget link.
    - `contactId` integer
    - `companyId` integer, nullable
    - `status` string, nullable
    - `isResolved` integer
    - `closingTime` string, date-time, nullable
    - `lastMessage` string, nullable
    - `logTime` string, date-time
    - `lastMessageTime` string, date-time
    - `lastMessageIsAgent` integer
    - `chatTagIds` string, nullable
    - `mentionedUserIds` string, nullable
    - `firstAssignTimeSec` integer, nullable
    - `pageUrl` string, nullable — Base URL, e.g. https://abc.com
    - `fullUrl` string, nullable — Full URL, e.g. https://abc.com/some/page
    - `referrer` string, nullable — Referrer page, e.g. https://yahoo.com if visitor came from Yahoo
    - `ipAddress` string, nullable
    - `city` string, nullable
    - `countryCode` string, nullable
    - `clientOs` string, nullable
    - `closedActorType` integer, nullable
    - `browserType` string, nullable
    - `browserVer` string, nullable
    - `browserLang` string, nullable
    - `timezoneOffset` number, double
    - `latitude` number, double
    - `longitude` number, double
    - `utm` string, nullable
    - `feedBackRate` number, double, nullable
    - `feedBackContent` string, nullable
    - `ticketId` integer
    - `dealId` integer
    - `slaId` integer, nullable
    - `widgetId` integer, nullable
    - `nextSlaBreach` string, date-time, nullable
    - `slaStats` SlaStats
      - `id` integer
      - `departmentId` integer — IDT-435: brand of the parent record (tasks/chat_rooms) at the time the SLA was applied. 0 = legacy/brand-less.
      - `slaId` integer
      - `linkedType` integer
      - `linkedId` integer
      - `dueBy` string, date-time, nullable — Çözülmesi gereken zaman
      - `resolveTime` string, date-time, nullable — Çözülme Zamanı
      - `dueEscalated` boolean
      - `frDueBy` string, date-time, nullable — İlk cevaplanması gereken zaman
      - `frTime` string, date-time, nullable — İlk cevaplanma zamanı
      - `frEscalated` boolean — İlk cevapmala için e-posta bildirimi yapıldı mı?
      - `nrDueBy` string, date-time, nullable — Sonraki cevaplanması gereken zaman
      - `nrTime` string, date-time, nullable — Sonraki cevap zamanı
      - `nrEscalated` boolean — Sonraki cevaplanma için e-posta bildirimi yapıldı mı?
      - `accountId` integer
    - `translatedBy` string, nullable
    - `sessionStartTime` string, date-time, nullable
    - `sessionCloseTime` string, date-time, nullable
    - `botTransferTime` string, date-time, nullable
    - `frTimeSec` integer, nullable
    - `firstResponseTime` string, date-time, nullable
    - `resolveTimeSec` integer, nullable
    - `frTimeBusinessSec` integer, nullable
    - `resolveTimeBusinessSec` integer, nullable
    - `resolvedInFirstContact` integer, nullable

---

[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)
