---
title: "GET /v1/chats/{contactId}/messages"
method: GET
path: "/v1/chats/{contactId}/messages"
---

# GET /v1/chats/{contactId}/messages

`GET /v1/chats/{contactId}/messages`

## Request

- Base URL: `https://api.pantheon.run`
- URL: `https://api.pantheon.run/v1/chats/{contactId}/messages`
- Auth: HTTP bearer

## Path parameters

- `contactId` string, required

## Query parameters

- `channel` string
- `since` string
- `until` string
- `cursor` string
- `limit` integer

## Response `200`

Default Response

- object
  - `has_more` boolean
  - `messages` object[]
    - `at` string
    - `channel` string, nullable
    - `from_me` boolean
    - `id` string
    - `text` string, nullable
    - `type` string, nullable
  - `next_cursor` string, nullable
  - `target` object
    - `channels` string[]
    - `kind` 'person' | 'channel' | 'group'
  - `window` object
    - `since` string, nullable
    - `until` string, nullable

---

[API](https://skmtc.dev/pantheon-run/apis/pantheon-developer-api.md) · [All operations](https://skmtc.dev/pantheon-run/apis/pantheon-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pantheon-run/apis/pantheon-developer-api/revisions/e51924bd212a?raw)
