---
title: "Get Channel Slack Messages"
method: POST
path: "/slack/messages"
---

# Get Channel Slack Messages

`POST /slack/messages`

Get messages for a specific Slack channel (platform admin only).

## Request body

- GetChannelSlackMessagesRequest — Request model for getting messages for a specific Slack channel.
  - `organization_id` string, required
  - `slack_channel_id` string, required
  - `limit` integer, nullable
  - `before_ts` string, nullable
  - `after_ts` string, nullable

## Response `200`

Successful Response

- TraversalDaosSlackMessageDaoSlackChatMessage[]
  - `id` string, required
  - `created_at` string, date-time, required
  - `slack_channel_id` string, required
  - `ts` string, required
  - `sent_at` string, date-time, nullable
  - `edited_at` string, date-time, nullable
  - `thread_ts` string, nullable, required
  - `slack_user_id` string, nullable, required
  - `message` string, nullable, required
  - `blocks` object[], required
  - `attachments` object[], required
  - `bot_id` string, nullable, required
  - `reactions` object[], required
  - `files` object[], required
  - `type` string, nullable, required
  - `subtype` string, nullable, required
  - `raw` object, nullable, required
  - `permalink` string, nullable
  - `last_updated_at` string, date-time, required
  - `deleted_at` string, date-time, nullable, required
  - `is_private` boolean, nullable
  - `is_dm` boolean, nullable
  - `user_id_to_display_name` object
  - `user_id_to_profile_photo_url` object
  - `channel_id_to_display_name` object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/traversal/apis/fastapi.md) · [All operations](https://skmtc.net/traversal/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/traversal/fastapi/revisions/2134ebffd1ef/schema)
