v1

latestOpenAPI 3.1.02026-07-173016.9 KB

Sends a message to a specified Slack channel.

This function posts a message to a Slack channel. It's versatile, supporting simple text, rich formatting with Block Kit, threaded replies, and interactive components. It also supports changing the bot icon or name as it appears as needed. On success, it returns details of the sent message.

post/sendMessage

Request body

Response

Successful response

okboolean required

Success indicator

channelstring

Channel ID where the message was sent

tsstring

Timestamp of the sent message

messageobject

Message details

All 3 operations