---
agent:
  instructions: "Search Greenbar's public pages and docs by keyword. A result has every word you give. Results are returned in Markdown."
  endpoint: "https://usegreenbar.com/.well-known/search?q={query}"
  method: "GET"
---

# Discord alerts

> Post alerts to a Discord channel with a webhook.

## Add a Discord channel

*Available on Paid plans*

Discord posts the alert into the channel the webhook belongs to. In that channel's settings, open Integrations, create a webhook and copy its URL. After saving, only the end of the URL is shown.

1. In Discord, create a webhook and copy its URL.
2. Open Alerts. Under Add channel, set Type to Discord.
3. Paste the URL into Discord webhook URL.
4. Choose Add channel.

![The Add channel form with Type set to Discord and Discord webhook URL set to a https://discord.com/api/webhooks/ address. The SMS (Coming soon) question is under Type, and Add channel is at the bottom.](https://usegreenbar.com/docs/screenshots/alerts-add-discord-light.png?v=5b1a53392672)

*A Discord webhook URL.*

The server accepts https on discord.com, discordapp.com, canary.discord.com or ptb.discord.com, with a path that starts with /api/webhooks/. No name and password, and no custom port. The message you see names discord.com. Choose Replace URL and New Discord webhook URL to change it. Send test is described on How alerts work.

### When it fails

**What you see if a Discord URL cannot be saved**

| What you see | Why | What to change |
| --- | --- | --- |
| `Enter the webhook URL` | The value is not a URL. | Paste the webhook URL. |
| `Discord webhook URL must start with https://discord.com/api/webhooks/` | The host or the path is not a Discord webhook. | Paste the URL from the channel's Integrations settings. |
