List User Streams

Returns a list of all the streams of which the requesting user is a member, sorted by creation date (ascending - oldest to newest).

Retrieve a list of all streams of which the requesting user is a member, sorted by creation date (ascending).

post
Query parameters
skipintegerOptional

No. of results to skip.

limitintegerOptional

Max no. of results to return. If no value is provided, 50 is the default.

Header parameters
sessionTokenstringRequired

Session authentication token.

Body

Stream filtering parameters.

includeInactiveStreamsbooleanOptional

Whether to include inactive streams in the list of results.

Example: false
Responses
chevron-right
200

OK

application/json

A list of streams of which the requesting user is a member.

idstringOptional

The stream ID.

crossPodbooleanOptional

If true, this is a cross-pod stream.

activebooleanOptional

If true, this stream is active.

post
/v1/streams/list

Request Example

curl -X POST \
https://acme.symphony.com/pod/v1/streams/list \
-H "sessionToken: SESSION_TOKEN" \
-H "Content-Type: application/json" \
-d '{
	"streamTypes": [
  	{"type": "IM"},
    {"type": "ROOM"},
    {"type": "POST"}
  ],
  "includeInactiveStreams": true
}'

streamTypes

streamTypes: A list of stream types (defined as an object) that will be returned. Options are IM (1-1 instant messages), ROOM (rooms), POST (the user's wall).

📘 Overview of streams

A stream is like a container for messages exchanged between two or more users via a given instant message (IM) or chat room. For more information, refer to Overview of streamsarrow-up-right.

Last updated

Was this helpful?