Files
zulip/templates/zerver/integrations/include/webhook-url-with-bot-email.md
Niloth P b7e79715cc integration-docs: Combine two macros that are always used together.
Edited the git-append-branches.md macro to match the previous
git-branches-additional-feature.md macro, and moved it inside the
webhook-url-with-bot-email.md macro, as it's only ever used
immediately after that macro.
2025-03-05 10:39:13 -08:00

621 B

Construct the URL for the {{ integration_display_name }} bot using the bot's API key and email address:

{{ external_url_scheme }}bot_email:bot_api_key@{{ api_url_scheme_relative }}{{ integration_url }}

Modify the parameters of the URL above, where bot_email is the bot's URL-encoded email address and bot_api_key is the bot's API key. To URL-encode the email address, you just need to replace @ in the bot's email address with %40.

You can also limit the branches you receive notifications for by specifying them in a comma-separated list appended to the end of the URL, e.g., &branches=main,development.