mirror of https://github.com/zulip/zulip.git
919 B
919 B
Get all users
{generate_api_description(/users:get)}
You can also fetch details on a single user.
Usage examples
{start_tabs} {tab|python}
{generate_code_example(python)|/users:get|example}
{tab|js}
More examples and documentation can be found here.
{generate_code_example(javascript)|/users:get|example}
{tab|curl}
{generate_code_example(curl, include=[""])|/users:get|example}
You may pass the client_gravatar
query parameter as follows:
{generate_code_example(curl)|/users:get|example}
{end_tabs}
Parameters
Note: The following parameters are all URL query parameters.
{generate_api_arguments_table|zulip.yaml|/users:get}
Response
Return values
{generate_return_values_table|zulip.yaml|/users:get}
Example response
A typical successful JSON response may look like:
{generate_code_example|/users:get|fixture(200)}