Skip to main content
POST
create a message

Authorizations

Authorization
string
header
required

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

Body

application/json

Information of message to be created

channelId
string
required
Maximum string length: 150
messageId
string
Maximum string length: 150
type
enum<string>
default:text
Available options:
text,
image,
file,
custom,
video,
audio,
imagemap
data
object
fileId
string
Maximum string length: 50
parentId
string
Maximum string length: 150
metadata
object
tags
string[]
Maximum array length: 10
Maximum string length: 30
mentionees
object[]

The object of the mentions type and user who get a notification for the message.

Maximum array length: 2

Response

Messages Information

messages
object[]
users
object[]
files
object[]