Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api-docs: Add tip for finding a stream or user ID.
Lauryn Menard2f91179c1e2f
diff --git a/api_docs/construct-narrow.md b/api_docs/construct-narrow.mdindex 8e322e8c077..a7e3554567c 100644--- a/api_docs/construct-narrow.md+++ b/api_docs/construct-narrow.md@@ -105,6 +105,12 @@ help center because they are primarily useful to API clients:* `dm-including:1234`: Search all direct messages (1-on-1 and group)that include you and user ID `1234`.+!!! tip ""++ A user ID can be found by [viewing a user's profile][view-profile]+ in the web or desktop apps. A stream ID can be found when [browsing+ streams][browse-streams] in the web app via the URL.+The operands for these search options must be encoded either as aninteger ID or a JSON list of integer IDs. For example, to querymessages sent by a user 1234 to a direct message thread with yourself,@@ -122,3 +128,6 @@ user 1234, and user 5678, the correct JSON-encoded query is:}]```++[view-profile]: /help/view-someones-profile+[browse-streams]: /help/browse-and-subscribe-to-streamsdiff --git a/api_docs/incoming-webhooks-overview.md b/api_docs/incoming-webhooks-overview.mdindex 361715c2253..78393bbed2e 100644--- a/api_docs/incoming-webhooks-overview.md+++ b/api_docs/incoming-webhooks-overview.md@@ -179,6 +179,11 @@ Parameters accepted in the URL include:name. By default the integration will send direct messages to thebot's owner.+ !!! tip ""++ A stream ID can be found when [browsing streams][browse-streams]+ in the web app via the URL.+* `topic`: The topic in the specified stream for the integration tosend notifications to. The topic should also be[URL-encoded][url-encoder]. By default the integration will have a@@ -189,5 +194,6 @@ Parameters accepted in the URL include:notification. For details, see the integration's [integrationdocumentation](/integrations) page.+[browse-streams]: /help/browse-and-subscribe-to-streams[add-bot]: /help/add-a-bot-or-integration[url-encoder]: https://www.urlencoder.org/