Skip to main content

messages/send

Send a message to a conversation under a task. Both taskId and conversationId are required; the conversation must already exist (created via task/conversation/create) and the sender must be a participant.

Parameters

taskId
string (UUID)
required
Branded TaskId
conversationId
string (UUID)
required
Branded ConversationId
parts
array
required
The parts field.
replyToId
string (UUID)
Branded MessageId
dispatchLeaseId
string (UUID)
Branded LeaseId

Response

The created message with ID, sequence number, and timestamp.
message
object
The message field.

Errors

TypeWhen
NotFoundErrorConversation not found
ForbiddenErrorNot a participant in the conversation
RateLimitedErrorMessage rate limit exceeded