Skip to main content
POST
Post a message

Authorizations

Authorization
string
header
required

The session token of an admin of your company.

Headers

X-Fluid-Bot-Id
string

A bot you own or steward, or one whose run is acting for you (a mention run acts for whoever mentioned the bot), to act as it while that run is open. Opening a conversation or changing who is in one is refused with 403 bot_not_allowed, and an id that names no such bot with 403 unknown_bot.

Idempotency-Key
string

Names this post, at most 255 characters; required for a bot.

Required string length: 1 - 255

Path Parameters

conversation_id
string
required

The conversation's id (uuid; a numeric id is still accepted).

Body

application/json
text
string
required

The message text.

Required string length: 1 - 10000
reply_to_id
string<uuid>

A person's reply to a message in the same conversation. A bot sends none.

blocks
object[]

A bot's cards, as the bot run messages route takes them. A person sends none.

Response

The message an earlier post with the same Idempotency-Key sent.

message
object
required
status
integer
required
meta
object
required

Response metadata.