Mark messages in a topic as read
Mark all the unread messages in a topic as read.
Changes: Deprecated; clients should use the update personal message
flags for narrow endpoint instead
as this endpoint will be removed in a future release.
# Pass the path to your zuliprc file here.
client = zulip.Client(config_file="~/zuliprc")
# Mark the unread messages in stream 1's topic "topic_name" as read
result = client.mark_topic_as_read(1, topic_name)
curl -sSX POST https://yourZulipDomain.zulipchat.com/api/v1/mark_topic_as_read \
-u BOT_EMAIL_ADDRESS:BOT_API_KEY \
--data-urlencode stream_id=43 \
--data-urlencode 'topic_name=new coffee machine'
stream_id integer required
The ID of the stream to access.
topic_name string required
"new coffee machine"
The name of the topic whose messages should be marked as read.
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: