Skip to main content
POST
Send a message to a channel.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
channelId
string
required

The channel to send the message to.

content
string
required

The message content (markdown supported).

threadId
string

Optional parent message ID to reply in a thread.

attachmentIds
string[]

Optional attachment ids to attach to the message. Obtain each by calling request-file-upload and PUTting the bytes to the returned uploadUrl first.

Response

Success

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object