---
title: "Messages"
method: GET
path: "/api/v1/slack/connections/{connection_id}/archive/messages"
tags: ["Slack"]
---

# Messages

`GET /api/v1/slack/connections/{connection_id}/archive/messages`

## Path parameters

- `connection_id` string, uuid, required

## Query parameters

- `conversation_id` string, nullable
- `thread_ts` string, nullable
- `before_ts` string, nullable
- `after_ts` string, nullable
- `cursor` string, nullable
- `limit` integer
- `latest_per_conversation` boolean — Return only the latest matching message per conversation; limit counts conversations.

## Response `200`

Successful Response

- SlackArchiveMessagesResponse
  - `messages` SlackArchivedMessageResponse[], required
    - `id` string, uuid, required
    - `connection_id` string, uuid, required
    - `conversation_id` string, required
    - `message_ts` string, required
    - `thread_ts` string, nullable, required
    - `user_id` string, nullable, required
    - `text` string, required
    - `files` object[], required
    - `mentioned` boolean, required
    - `source` 'event' | 'backfill' | 'action', required
    - `captured_at` string, date-time, required
  - `next_cursor` string, nullable
  - `page_boundary` SlackArchivePageBoundary
    - `message_ts` string, required
    - `id` string, uuid, required
  - `source` 'archive'

## Other responses

- `422` — Validation Error
- `4XX` — Client error with Support Agent information.
- `5XX` — Server error with Support Agent information.

## Changes

- **2026-10-01** `3e0d51f919a7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/inkbox/apis/inkbox-api/changes/api/v1/slack/connections/:connection_id/archive/messages/get.md)

---

[API](https://skmtc.dev/inkbox/apis/inkbox-api.md) · [All operations](https://skmtc.dev/inkbox/apis/inkbox-api/llms.txt) · [OpenAPI document](https://skmtc.dev/inkbox/apis/inkbox-api/revisions/5cbaa42f14f7?raw)
