Skip to content

Webhook Format: Discord

When format is set to discord, incoming emails are converted into Discord messages using the Webhook API.

  1. In Discord, right-click the channel and select Edit Channel.
  2. Click IntegrationsWebhooksNew Webhook.
  3. Copy the generated webhook URL:
    https://discord.com/api/webhooks/000000000000000000/XXXXXXXXXXXXXXXXXXXXXXXXXXXX
Terminal window
curl 'https://api.echovalue.dev/webhook' \
-H 'x-token: mytoken' \
-H 'Content-Type: application/json' \
-d '{
"url": "https://discord.com/api/webhooks/000000000000000000/XXXX",
"format": "discord"
}'
**Subject line**
From: Sender Name <sender@example.com>
Email body text