SessionDirectoryController_filterOptions
GET
/api/chat/sessions/filter-options
const url = 'https://api.streams.chat/api/chat/sessions/filter-options?option=owner&scope=mine&type=all&status=all&ownerKind=anyone';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.streams.chat/api/chat/sessions/filter-options?option=owner&scope=mine&type=all&status=all&ownerKind=anyone'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”option
required
string
scope
string
type
string
status
string
q
string
ownerKind
string
ownerIds
string
streamIds
string
search
string
cursor
string
limit
integer