Get the subscribers of a stream
Get all users subscribed to a stream.
# Pass the path to your zuliprc file here.
client = zulip.Client(config_file="~/zuliprc")
# Get the subscribers to a stream
result = client.get_subscribers(stream="new stream")
curl -sSX GET -G https://uga2250fall2021.zulipchat.com/api/v1/streams/1/members \
stream_id integer required in path
The ID of the stream to access.
Changes: As of Zulip 7.0 (feature level 167), if any
parameters sent in the request are not supported by this
endpoint, a successful JSON response will include an
A typical successful JSON response may look like:
An example JSON response for when the requested stream does not exist,
or where the user does not have permission to access the target stream:
"msg": "Invalid stream ID",