---
title: "Send Slack Message"
method: POST
path: "/admin/slack/messages"
tags: ["admin", "admin-api-key", "slack"]
---

# Send Slack Message

`POST /admin/slack/messages`

## Request

- Base URL: `https://api.trytrata.com`
- URL: `https://api.trytrata.com/admin/slack/messages`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Trata-Api-Key`

## Request body

- SendSlackMessageRequest
  - `channel` string, required
  - `text` string, required
  - `thread_ts` string, nullable

## Response `200`

Successful Response

- SendSlackMessageResponse
  - `ok` boolean, required
  - `error` string, nullable
  - `ts` string, nullable
  - `attributed_user_id` string, nullable

## Other responses

- `404`: Not found
- `422`: Validation Error

## Changes

- **2026-10-28** `86e84046aceb`: 1 info
  - api tag `admin-api-key` added
- **2026-09-19** `25feb5dd4c71`: 2 info
  - the endpoint scheme security `X-Trata-Api-Key` was added to the API
  - added the optional property `attributed_user_id` to the response with the `200` status

[Operation history](https://skmtc.dev/trytrata/apis/trytrata-api/changes/admin/slack/messages/post.md)

---

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