Skip to content
Software capabilities

Slack capability

How to reply to a Slack thread

Pass the parent message’s timestamp as thread_ts to chat.postMessage. You can also reply in the Slack client or send a threaded reply through an incoming webhook tied to the channel.

Documentation reviewed

Ways to do it

API

chat.postMessage with thread_ts

Send the conversation ID in channel and the parent message’s timestamp in thread_ts. The reply stays in the thread by default.

Requirements
A Slack app token with chat:write and permission to post in the conversation.
Limitations
Slack expects the parent timestamp in thread_ts, even when you are responding to a specific reply.

Example

{
  "channel": "CHANNEL_ID",
  "thread_ts": "PARENT_MESSAGE_TS",
  "text": "Example thread reply",
  "reply_broadcast": false
}
Read source: Slack chat.postMessage reference

Webhook

Incoming webhook with thread_ts

Send a JSON payload with text and thread_ts to the channel’s installed incoming webhook.

Requirements
An installed incoming webhook for the target channel and the parent message’s timestamp.
Limitations
The webhook is bound to its configured channel, and the webhook response does not provide a timestamp for a message it posts.
Read source: Slack incoming webhook guide

Interface

Reply in thread

Open the parent message’s thread in Slack and enter the reply there.

Requirements
Access to the conversation and permission to post.
Limitations
A thread reply stays out of the main conversation unless you choose to send it there too.
Read source: Slack thread guide