Skip to main content
POST
/
chat
/
channels
/
{channelId}
/
messages
Send a message to a channel
curl --request POST \
  --url https://api.engagefabric.com/chat/channels/{channelId}/messages \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "Hello everyone!",
  "type": "TEXT",
  "replyToId": "<string>",
  "metadata": {}
}
'

Path Parameters

channelId
string
required

Query Parameters

projectId
string
required
playerId
string
required

Body

application/json
content
string
required

Message content

Example:

"Hello everyone!"

type
enum<string>
default:TEXT

Message type

Available options:
TEXT,
SYSTEM,
ANNOUNCEMENT,
EMOTE,
MEDIA
replyToId
string

ID of message being replied to

metadata
object

Additional metadata (attachments, mentions, etc.)

Response

Message sent