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

# Get chat messages

`GET /v2/chats/{channel_id}/messages`

## Request

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

Retrieve all the messages of a given channel

## Path parameters

- `channel_id` string, required

## Query parameters

- `sender` 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.
  - `messages` unknown[]
    - unknown

## Other responses

- `401`: Unauthorized
- `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)
