/rtm.connect
GET
/rtm.connectStarts a Real Time Messaging session.
Request
Query Params
token
string
required
Authentication token. Requires scope: rtm:stream
batch_presence_aware
string
optional
Batch presence deliveries via subscription. Enabling changes the shape of presence_change
events. See batch presence.
presence_sub
string
optional
Only deliver presence events when requested by subscription. See presence subscriptions.
Request samples
Responses
Typical success response(200)
Typical error response(500)
Typical success response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
ok
#/definitions/700149required
self
object
required
id
#/definitions/700157required
name
string
required
team
object
required
domain
string
required
id
#/definitions/700154required
name
string
required
url
string <uri>
required
Exampleresponse
{
"ok": true,
"self": {
"id": "U4X318ZMZ",
"name": "robotoverlord"
},
"team": {
"domain": "slackdemo",
"id": "T2U81E2FP",
"name": "SlackDemo"
},
"url": "wss://..."
}
Last modified: a year ago