SlackSlackCommunity

Read recent messages from a Slack channel

slack.slack.messages.history

Read recent messages from a Slack channel

Price
freeプロバイダー原価
Success rate
—成功率データはまだありません成功率データはまだありません
Latency p50
——
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/slack.slack.messages.historyPreview
Try online近日公開Provider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

パラメータ

returns top-level messages only — thread replies come from conversations.replies. Message authors arrive as user IDs (U…); resolve them with users.info or users.list

パラメータ型必須説明例
クエリパラメータ
limit整数任意default 100, max 999 — but see the unlisted-app cap of 15 in the file header15
cursor文字列任意response_metadata.next_cursor from the previous page
latest文字列任意only messages before this Unix timestamp
oldest文字列任意only messages after this Unix timestamp1700000000.000000
channel文字列必須channel ID (C…)C0123456789
inclusive真偽値任意include messages sitting exactly on the oldest/latest bounds
  • クエリパラメータ
  • limit整数任意

    default 100, max 999 — but see the unlisted-app cap of 15 in the file header

    例:15

  • cursor文字列任意

    response_metadata.next_cursor from the previous page

  • latest文字列任意

    only messages before this Unix timestamp

  • oldest文字列任意

    only messages after this Unix timestamp

    例:1700000000.000000

  • channel文字列必須

    channel ID (C…)

    例:C0123456789

  • inclusive真偽値任意

    include messages sitting exactly on the oldest/latest bounds

コード例

$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/slack.slack.messages.history' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。