DEV Community

Cheav Sovannarith
Cheav Sovannarith

Posted on • Originally published at Medium on

Intro to Webhooks — Discord

Intro to Webhooks — Discord

Webhooks are a low-effort way to post messages to channels in Discord. They do not require a bot user or authentication to use.

Photo by Corinne Kutz on Unsplash

Discord’s built in Webhooks function as an easy way to get automated messages and data updates sent to a text channel in your server. Think of them as one of those fancy pneumatic tube things you used to love sending money into at a bank and watch disappear, but instead of never seeing your money again, you’re actually sending messages into Discord from another platform.

  1. Open your Server Settings Webhook tab:

  1. Click the purple button to create a new webhook!

Then you will get a new Webhook with the URL.

  1. How to use Webhook to send message :

curl -X POST WEBHOOK_URL -H ‘content-type: application/json’ -d ‘{“content”: “Hello, World!”}’


Discord Developer Portal - API Docs for Bots and Developers

Top comments (0)