Send a message
POST/api/chat/channels/{channelId}/messages
POST
/api/chat/channels/{channelId}/messages
Rate limited to 30 per minute per user per band. Attachment keys must have come from this channel’s upload-url endpoint. Mentions are pinged separately from the channel fan-out.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”channelId
required
string format: uuid
Request Body
Section titled “Request Body”Message to send
object
content
string
metadata
object
key
additional properties
attachments
Array<object>
object
key
required
string
name
required
string
size
required
integer
contentType
required
string
Responses
Section titled “Responses”Sent
object
ok
required
boolean
data
Invalid input, or an attachment from another channel
object
ok
required
boolean
error
required
string
code
string
Unauthenticated
object
ok
required
boolean
error
required
string
code
string
Forbidden
object
ok
required
boolean
error
required
string
code
string
Channel not found
object
ok
required
boolean
error
required
string
code
string
Too many messages
object
ok
required
boolean
error
required
string
code
string
Server error
object
ok
required
boolean
error
required
string
code
string
