Skip to main content
POST
Send message

Headers

idempotency-key
string

Makes retries safe: a replay with the same key and body returns the original message. Scoped to the team.

Required string length: 1 - 255
Pattern: ^[\x20-\x7E]+$
Example:

"order-4821-followup"

Body

application/json
target
object
required

An existing thread.

content
string
required

Up to the platform's limits.characters. Longer content fails with contentRejected.

Minimum string length: 1
replyToMessageId
string

A message in the thread this send lands in, to reply to.

Pattern: ^[0-9a-z]+$

Response

Success

message
object
required

A message in a thread, sent or received by its account link.

thread
object
required

The thread the message landed in, which a concurrent send may have created. Adopt it.