Stream Info
Returns information about a particular stream.
Stream Id
Session authentication token.
OK
Client error, see response body for further details.
Unauthorized: Invalid session token.
Forbidden: Caller lacks necessary entitlement.
Server error, see response body for further details.
GET /pod/v2/streams/{sid}/info HTTP/1.1
Host: yourpodURL.symphony.com
sessionToken: text
Accept: */*
{
"id": "BZQYepoT0Zf4vL_jpeMPqn___oEWvVy3dA",
"crossPod": false,
"origin": "INTERNAL",
"active": true,
"lastMessageDate": 1644590972696,
"streamType": {
"type": "ROOM"
},
"streamAttributes": {
"members": [
7215545058313,
7215545078461
]
},
"roomAttributes": {
"name": "API room",
"groups": [
{
"id": 68719476744,
"addedBy": 68719476743
}
]
}
}Note: visit Overview for an overview of streams.
In the response,
The
crossPodfield indicates whether the stream is External or Internal.The
originfield indicates the origin of the room: INTERNAL (created by a user of the calling user's company) or EXTERNAL (created by a user of another company). Only applies to chatrooms with External scope.The
activefield indicates whether the stream is active or inactive. An IM is inactive if at least one of the participants is a deactivated user. A room is inactive if it has been deactivated by an owner or an administrator.lastMessageDatestates when the last message sent in that stream. The time is in epoch format.streamTypecan beIM(1-1 instant message),MIM(multi-party instant message, deprecated),ROOM, orPOST(user profile wall posts).For IMs and walls,
streamAttributescontains themembersarray with userIds of participants. In the case of wall posts, there is only one participant (the user whose wall it is).For rooms,
roomAttributescontains thenameof the room. To get the participants of the room, call the Room Members endpoint.If the stream is IM or room with
discoverableset as "false", the caller needs to have the VIEW_ANY_STREAM_DETAILS privilege. Refer to Bot Permissions for a list of roles and associated privileges.
📘 Note - GroupsSince 20.14, please note that the object
groupshas been added in the roomAttributes object only if at least a Group has been added to the room. It is an array containing:
idattribute: ID of the Group,
addedBy: ID of the user who added the Group to the roomSee Groups for more information.
Last updated
Was this helpful?