Get
/api/v1/rooms.get
Get all opened rooms (all joined public & private channels and all DMs) of the authenticated user.
Changelog
Version | Description |
---|---|
0.72.0 | Added |
Header parameters
X-Auth-Token
stringRequired
The authToken
of the authenticated user.
ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired
The userId
of the authenticated user.
ExamplerbAXPnMktTFbNpwtJ
Query parameters
updatedSince
string
A date as an ISO string. When you provide the updatedSince
query parameter, then the update and remove in the response will contain only those updated and removed since the specified date and time.
Example2017-11-25T15:08:17.248Z
Responses
200
401
OK
object
update
Array of object
object
_id
string
ts
string
t
string
name
string
usernames
Array of string
string
msgs
integer
usersCount
integer
_updatedAt
string
u
object
default
boolean
lastMessage
object
lm
string
uids
Array of string
string
ro
boolean
sysMes
boolean
remove
Array of object
object
success
boolean