Get user presence
Get the presence status for a specific user.
This endpoint is most useful for embedding data about a user's
presence status in other sites (E.g. an employee directory). Full
Zulip clients like mobile/desktop apps will want to use the main
presence endpoint, which returns data for all active users in the
Zulip's developer documentation
for details on the data model for presence in Zulip.
# Pass the path to your zuliprc file here.
client = zulip.Client(config_file="~/zuliprc")
# Get presence information for "email@example.com"
result = client.get_user_presence('firstname.lastname@example.org')
curl -sSX GET -G https://yourZulipDomain.email@example.com/presence \
email required in path
The email address of the user whose presence you want to fetch.
A typical successful JSON response may look like: