Skip to main content

How to make a webhook in Discord

Discord webhooks are an essential feature allowing message posting automation in Discord channels. When attaching a webhook to a Discord channel, referenced via a dedicated URL, the option of sending messages to discords channels via third-party applications is enabled.

Thanks to the webhook URL, third-party applications are able to reference the targeted Discord channel and automatically send embedded messages, that will be soon translated into rich text ready to be delivered to your audience.

In this article we show you how to make a webhook in Discord. Let’s get started!

  1. First, open Discord and choose a server that you manage.

  2. In the upper left corner, click on the arrow next to your server name and choose Server Settings from the drop down menu.

  3. In the left side bar of the setting windows, choose Integrations, then click on the Create Webhook button.

  4. The Integrations > Webhooks window allows creating a new webhook.

  5. Choose your preferred icon and name your webhook.

  6. The drop-down list provides the active channels in your Discord server. The webhook created through this dialog will post messages to the selected channel.

  1. Your webhook is almost ready! Click on the Copy Webhook URL button and a webhook URL will be copied to your pasteboard. The webhook is now ready to post messages to your Discord channel from other apps or websites.

The webhook URL has the following format, where exemple-hash is a unique hash that identifies your channel webhook: https://discord.com/api/webhooks/example-hash

If for any reason you would like to delete the webhook, click on the Delete Webhook button.

Now that you have successfully created your first Discord webhook for a dedicated channel, you can use third-party applications to automate message posting to Discord.

In our case, we will be using Discohook as a third-party web applications to send embedded messages to Discord channels thanks to the webhook URL just created. Let's jump straight to it!

  1. Go to https://discohook.org/ and add the webhook URL.

  1. Write the content of your message and optionally attach files to your post.

  1. Double-check your post thanks to the preview in the right-side panel of Discohook, and click on Send button to post your message to the Discord channel.

Go back to Discord, and you will find your first message posted directly to your Discord channel by a third-party web application, thanks to Discord webhooks.