---
title: "Get all channels"
method: GET
path: "/v2/chats"
tags: ["Chat"]
---

# Get all channels

`GET /v2/chats`

Get a list of channels.

## Query parameters

- `participants` string
- `offset` integer
- `limit` integer
- `from` string, date-time
- `to` string, date-time

## Response `200`

- object
  - `offset` integer — The number of items to skiped before starting to collect the result set.
  - `limit` integer — The numbers of items to returned.
  - `has_more` boolean — Indicates is there more values.
  - `count` integer — Total number of values returned.
  - `channels` object[]
    - `id` string — Channel id.
    - `participants` string[]
    - `last_message` object
      - `message_id` string — Message id.
      - `body` string — Message content. **This field is treated as PII/PHI**
      - `from` string — User id of the message sender.
      - `date` string, date-time — Date of the message.
      - `type` string — Type of the message.
    - `last_read_users_messages` object[]
      - `user_id` string — The user id.
      - `message_id` string — Message id.
    - `creation_date` string, date-time — Creation date of the message.
    - `deletion_date` string, date-time — Date of deletion of the message.

## Other responses

- `401` — Unauthorized
- `429` — Too Many request

---

[API](https://skmtc.net/kaleyra/apis/kaleyra-io-sms-apis.md) · [All operations](https://skmtc.net/kaleyra/apis/kaleyra-io-sms-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kaleyra/kaleyra-io-sms-apis/revisions/d9b785884d03/schema)
