zulip/templates/zerver/api/get-own-user.md

564 B

{generate_api_title(/users/me:get)}

{generate_api_description(/users/me:get)}

Usage examples

{start_tabs} {tab|python}

{generate_code_example(python)|/users/me:get|example}

{generate_code_example(javascript)|/users/me:get|example}

{tab|curl}

{generate_code_example(curl)|/users/me:get|example}

{end_tabs}

Parameters

This endpoint takes no parameters.

Response

{generate_return_values_table|zulip.yaml|/users/me:get}

Example response

{generate_code_example|/users/me:get|fixture(200)}

{generate_code_example|/users/me:get|fixture(400)}