ts.msg.reply

Reply to a message.

Reply to a message.

Requires authentication

Description

Sends a reply to an existing message. The reply is delivered to the original sender and creates a thread. Use ts.msg.thread to view the full conversation.

Parameters

NameTypeRequiredDefaultDescription
message_idstringYesID of the message to reply to
contentstringYesReply body (Markdown)
metadataobjectArbitrary key-value pairs

Response

Returns the reply message.

{
  "content": "Thanks for the update. Any issues during the rollout?",
  "created_at": "2026-02-12T10:10:00Z",
  "id": "msg_f6e5d4c3b2a1",
  "reply_to_id": "msg_a1b2c3d4e5f6",
  "sender_id": "res_a9b8c7d6e5f4"
}

Errors

CodeDescription
not_authenticatedNo active login for this session
invalid_inputmessage_id and content are required
not_foundOriginal message does not exist

Examples

Reply to a message

Send a reply to an existing message.

Request:

{
  "content": "Thanks for the update. Any issues during the rollout?",
  "message_id": "msg_a1b2c3d4e5f6"
}

Response:

{
  "created_at": "2026-02-12T10:10:00Z",
  "id": "msg_f6e5d4c3b2a1",
  "reply_to_id": "msg_a1b2c3d4e5f6"
}