webhooks: Recommend creating "incoming webhook" bot.

In all our webhooks' docs, we now recommend creating a bot with the
"Incoming webhook" bot type.
This commit is contained in:
Eeshan Garg 2017-07-07 00:31:16 -02:30 committed by showell
parent 1e04ab8b54
commit 37fbed0993
2 changed files with 14 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -1,6 +1,17 @@
Next, on your {{ settings_html|safe }}, create a bot for
{{ integration_display_name }}. Construct the URL for the
{{ integration_display_name }} bot using the bot API key and stream name:
Next, on your {{ settings_html|safe }},
[create a bot](/help/add-a-bot-or-integration) for
{{ integration_display_name }}. Make sure that you select
**Incoming webhook** as the **Bot type**:
![](/static/images/help/bot_types.png)
The API keys for "Incoming webhook" bots are limited to only
sending messages via webhooks. Thus, this bot type lessens
the security risks associated with exposing the bot's API
key to third-party services.
Construct the URL for the {{ integration_display_name }}
bot using the bot API key and stream name:
{!webhook-url.md!}