Chat

Chat Me Message

POST
/chat.meMessage

Share a me message into a channel.

Authorization

slackAuth chat:write:user, chat:write:bot
AuthorizationBearer <token>

In: header

Scope: chat:write:user, chat:write:bot

Header Parameters

token?string

Authentication token. Requires scope: chat:write

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Request Body

application/x-www-form-urlencoded

channel?string

Channel to send message to. Can be a public channel, private group or IM channel. Can be an encoded ID, or a name.

text?string

Text of the message to send.

Response Body

application/json

application/json

curl -X POST "https://example.com/chat.meMessage" \  -H "Content-Type: application/x-www-form-urlencoded" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d ''
{  "channel": "string",  "ok": "True",  "ts": "string"}