Read the replies in a Slack message thread
slack.slack.thread.repliesRead the replies in a Slack message thread
- Price
- freeプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/slack.slack.thread.repliesPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
the parent message is returned as the first item, so a thread with N replies comes back as N+1 messages
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
ts | 文字列 | 必須 | `ts` of the thread's PARENT message (a reply's thread_ts) | 1700000000.000100 |
limit | 整数 | 任意 | default 100; same unlisted-app cap of 15 as conversations.history | 15 |
cursor | 文字列 | 任意 | ||
latest | 文字列 | 任意 | ||
oldest | 文字列 | 任意 | ||
channel | 文字列 | 必須 | channel ID the thread lives in | C0123456789 |
inclusive | 真偽値 | 任意 | ||
- クエリパラメータ
ts文字列必須`ts` of the thread's PARENT message (a reply's thread_ts)
例:
1700000000.000100limit整数任意default 100; same unlisted-app cap of 15 as conversations.history
例:
15cursor文字列任意latest文字列任意oldest文字列任意channel文字列必須channel ID the thread lives in
例:
C0123456789inclusive真偽値任意
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/slack.slack.thread.replies' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/slack.slack.thread.replies",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/slack.slack.thread.replies", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。