loading...

Intro to Webhooks — Discord

cheav_sovannarith profile image Cheav Sovannarith Originally published at Medium on ・1 min read

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!”}’

READ MORE

Discord Developer Portal - API Docs for Bots and Developers


Discussion

markdown guide