Skip to main content

Post to a chat

POST 

/chat.post

Post a message to a chat. Messages can be plain markdown text or rich Block Kit layouts with headers, sections, buttons, and more.

Messages may be posted to a chat, a group, or one or more addresses (e.g. users, bots).

Mentions are supported with the syntax <@USER_ID>, e.g. <!@U-7861a4c6-765a-495d-898d-fae3d8fbba2d> or <@all> to notify everyone in the chat. When rendered in the client, the tag will automatically be replaced with the human-readable display name (or "everyone" for <@all>).

Access: Organization and Personal. In Organization mode, messages are sent with the app's bot persona. In Personal mode, messages are sent as the authenticated user.

Required scope: chat:send_message or chat:write


OpenAPI Spec: chat.json

Request

Responses

Info retrieved successfully sent