CARVIEW |
Select Language
HTTP/2 200
date: Fri, 01 Aug 2025 06:12:01 GMT
server: Apache
vary: Accept-Encoding
x-xss-protection: 0
content-type: text/html; charset=utf-8
strict-transport-security: max-age=31536000; includeSubDomains; preload
referrer-policy: no-referrer
x-slack-unique-id: aIxasdLGGPTCH024HmYPyAAAECE
x-slack-backend: r
x-frame-options: SAMEORIGIN
set-cookie: utm=%7B%7D; expires=Fri, 15-Aug-2025 06:12:01 GMT; Max-Age=1209600; path=/; domain=.slack.com; secure; SameSite=None
set-cookie: b=86a34d393ae4ef6c7c2ae7c4fd6b5aa2; expires=Wed, 01-Aug-2035 06:12:01 GMT; Max-Age=315532800; path=/; domain=.slack.com; secure; SameSite=None
set-cookie: x=86a34d393ae4ef6c7c2ae7c4fd6b5aa2.1754028721; expires=Fri, 01-Aug-2025 06:27:01 GMT; Max-Age=900; path=/; domain=.slack.com; secure; SameSite=None
via: 1.1 slack-prod.tinyspeck.com, envoy-www-iad-oaxnjrex,envoy-edge-bom-hhymkovw
content-encoding: gzip
content-length: 29581
x-envoy-attempt-count: 1
x-envoy-upstream-service-time: 262
x-backend: main_normal main_canary_with_overflow main_control_with_overflow
x-server: slack-www-hhvm-main-iad-xzjc
x-slack-shared-secret-outcome: no-match
x-edge-backend: envoy-www
timing-allow-origin: *
x-slack-edge-shared-secret-outcome: no-match
message.channels event | Slack
A message was posted to a channel
Facts
Required scopes
Works with
Events API
This example appears wrapped in the standard event wrapper used by all events delivered on the Events API.
{
"token": "one-long-verification-token",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "message",
"channel": "C123ABC456",
"user": "U123ABC456",
"text": "Live long and prospect.",
"ts": "1355517523.000005",
"event_ts": "1355517523.000005",
"channel_type": "channel"
},
"type": "event_callback",
"authed_teams": [
"T123ABC456"
],
"event_id": "Ev123ABC456",
"event_time": 1355517523
}
The semantics for this message event type are similar to the core message event sent through the RTM API. Messages often include many more fields than those shown above.
Differentiate public channel messages from other message.*
events by looking for the event
's channel_type
field set to "channel"
.
To receive only messages sent to your app, subscribe to app_mention
events instead.
When an event occurs, we will send an HTTP POST request to your Request URL. The outer payload is uniform across all Events API methods, and contains fields like team_id
and event
. Learn more