Discord
Post project events and monitoring alerts to a Discord channel, through a channel webhook.
You need a webhook URL for the channel, from the channel's Integrations settings in Discord. It looks like https://discord.com/api/webhooks/....
Project events
Send spec uploads, docs publishes, SDK builds and the project's other events to Discord.
- Open the webhooks
Open Integrations in the project sidebar, choose Discord under Notifications and paging, then Add a webhook (Manage webhooks once the project has one).
- Add a Discord webhook
Press New webhook, choose Discord, and paste the channel's webhook URL.
- Pick the events
Forward only what you need, or use Select all. Then press Send test to check a message arrives.
Each message is one line with the project's name in bold and what happened. Discord takes up to 2,000 characters, so a longer message is cut short. For every event and the delivery log, see webhooks.
Monitoring alerts
Send error spikes, new issues and regressions from your API's monitoring to Discord.
- Open the alert rules
Open Monitoring, then the Alerts tab, and create a rule or edit one. The Discord card on the Integrations page links there too, and lists the rules already using it.
- Choose Discord as the channel
Pick Discord and paste the channel's webhook URL, which must be on
discord.com. Alert channel addresses must be publichttps://URLs: Octri refuses a private or internal address.
Each rule has one channel. To reach several places, make a rule for each. See alerts for the rule kinds, windows and cooldowns.