Rtm

RTM Connect

GET
/rtm.connect

Starts a Real Time Messaging session.

Authorization

slackAuth rtm:stream
AuthorizationBearer <token>

In: header

Scope: rtm:stream

Query Parameters

token*string

Authentication token. Requires scope: rtm:stream

batch_presence_aware?boolean

Batch presence deliveries via subscription. Enabling changes the shape of presence_change events.

presence_sub?boolean

Only deliver presence events when requested by subscription

Header Parameters

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Response Body

application/json

application/json

curl -X GET "https://example.com/rtm.connect?token=string" \  -H "Content-Type: application/x-www-form-urlencoded"
{  "ok": "True",  "self": {    "id": "string",    "name": "string"  },  "team": {    "domain": "string",    "id": "string",    "name": "string"  },  "url": "http://example.com"}