Skip to main content
POST
Create a new message in message feed

Authorizations

Authorization
string
header
required

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

Body

application/json

Message object that needs to be added

messageFeedId
string
required

Message feed id of message

Maximum string length: 30
Example:

"507f191e810c19729de860ea"

referenceId
string
required

A reference ID

Maximum string length: 30
Example:

"1530b11ec8df87da22b06b27"

dataType
string
required

Type of data

Maximum string length: 20
Example:

"text"

parentId
string

Parent id of message

Maximum string length: 30
Example:

"abc665afd7dbb8d036037eea"

data
object

A custom object for storing message. The size of this object must be less than 10 kb.

Example:
fileId
string

File id

Maximum string length: 30
Example:

"76bfe68974157a114053364d"

metadata
object

A custom object for storing the other data. The size of this object must be less than 20 kb.

Example:
tags
string[]

List of tags for searching

Maximum array length: 10
Maximum string length: 30
Example:
mentionedUsers
object[]

List of mentioned users

createdAt
string<date-time>

A created date/time of message

Response

Create message payload

The returned payload of created message(s)

messages
object[]

The list of created message

messageFeeds
object[]

List of message feeds

files
object[]

The list of file

users
object[]

The list of user