Back to Zulip

Webhook Url With Bot Email

templates/zerver/integrations/include/webhook-url-with-bot-email.md

12.0620 B
Original Source

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.