Webhook Format: Discord
When format is set to discord, incoming emails are converted into Discord messages using the Webhook API.
Get the Webhook URL
Section titled “Get the Webhook URL”- In Discord, right-click the channel and select Edit Channel.
- Click Integrations → Webhooks → New Webhook.
- Copy the generated webhook URL:
https://discord.com/api/webhooks/000000000000000000/XXXXXXXXXXXXXXXXXXXXXXXXXXXX
Configure in echoValue
Section titled “Configure in echoValue”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" }'Output Preview
Section titled “Output Preview”**Subject line**From: Sender Name <sender@example.com>Email body text