---
title: "Get channel"
method: GET
path: "/v2/chats/{channel_id}"
tags: ["Chat"]
---

# Get channel

`GET /v2/chats/{channel_id}`

## Request

- Base URL: `https://api.sandbox.eu.bandyer.com`
- URL: `https://api.sandbox.eu.bandyer.com/v2/chats/{channel_id}`
- Auth: API key in header `apikey`

Get a specific channel by id

## Path parameters

- `channel_id` string, required

## Response `200`

- 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

- `400`: Bad request
- `401`: Unauthorized
- `404`: Channel not found
- `429`: Too Many request

---

[API](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2.md) - [All operations](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2/revisions/4424fd54ae42?raw)
