# Has any one tried webhooks with Discord?

**URL:** https://meta.discourse.org/t/has-any-one-tried-webhooks-with-discord/51785
**Category:** Support
**Created:** [October 20, 2016, 1:29pm UTC](https://meta.discourse.org/t/has-any-one-tried-webhooks-with-discord/51785 "2016-10-20T13:29:08Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Alankrit\_Choudh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alankrit_choudh/32/119698_2.png) [@Alankrit\_Choudh](https://meta.discourse.org/u/Alankrit_Choudh)
#### Post date: [October 20, 2016, 1:29pm UTC](https://meta.discourse.org/t/has-any-one-tried-webhooks-with-discord/51785/1 "2016-10-20T13:29:09Z")

</div>

Discord recently released webhooks

> **[Intro to Webhooks](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks)**
>
> 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 u...

I am having 400 errors after exactly following the procedure layed out by the discord team.  
Is any one successful of achieveing the webhook with discord?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [October 20, 2016, 2:48pm UTC](https://meta.discourse.org/t/has-any-one-tried-webhooks-with-discord/51785/3 "2016-10-20T14:48:02Z")

</div>

Looks like Discord need something like this:

```plaintext
curl -X POST --data '{ "embeds": [{"title": "Topic Title", "url": "https://example.com", "description": "This is a test for webhooks", "type": "link", "thumbnail": {"url": "https://global.discourse-cdn.com/meta/original/3X/c/b/cb4bec8901221d4a646e45e1fa03db3a65e17f59.png"}}] }' -H "Content-Type: application/json" https://canary.discordapp.com/api/webhooks/url

```

that results:

 ![](https://global.discourse-cdn.com/meta/original/3X/3/7/37bd3efcb6282f05eedfed97e4b243997cfb1c67.png)

You will need a plugin to format Discourse Webhook properly, or convince Discord to parse our webhook format (they already do exceptions for Github and Slack).

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [May 13, 2017, 9:10pm UTC](https://meta.discourse.org/t/has-any-one-tried-webhooks-with-discord/51785/4 "2017-05-13T21:10:36Z")

</div>

Update:

Using Zapier as the middleman, it’s pretty easy to integrate a Discourse webhook to Discord!

Use this template for new topics:

 ![](https://global.discourse-cdn.com/meta/original/3X/a/2/a2af224f1e88c4377fcf538f18b59a65ccd5b43c.png)

Result:

 ![](https://global.discourse-cdn.com/meta/original/3X/f/8/f8cb9cc46f1acd9c7f338cc7783d1493d875a584.png)

---

<div class="post-metadata">

### Author: ![cryptochrome](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cryptochrome/32/74380_2.png) [@cryptochrome](https://meta.discourse.org/u/cryptochrome)
#### Post date: [June 27, 2017, 10:13am UTC](https://meta.discourse.org/t/has-any-one-tried-webhooks-with-discord/51785/5 "2017-06-27T10:13:23Z")

</div>

Thanks. The problem with Zapier is they are not free. You have to start paying after a low amount of Zap triggers.

---

<div class="post-metadata">

### Author: ![DanielMarquard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danielmarquard/32/74010_2.png) [@DanielMarquard](https://meta.discourse.org/u/DanielMarquard)
#### Post date: [July 31, 2017, 5:56am UTC](https://meta.discourse.org/t/has-any-one-tried-webhooks-with-discord/51785/6 "2017-07-31T05:56:47Z")

</div>

> [@cryptochrome](#):
>
> Thanks. The problem with Zapier is they are not free. You have to start paying after a low amount of Zap triggers.

I’ve made one you can use, you just need a web server running PHP to receive and process the webhooks from Discourse before sending them to Discord.

> [@Discourse to Discord Webhook](https://meta.discourse.org/t/discourse-to-discord-webhook/55273):
>
> discourse information_source Before trying this, check out the [official chat integration plugin for Discord](https://meta.discourse.org/t/set-up-discord-notifications-using-the-discourse-chat-integration-plugin/66600)[Discourse to Discord Webhook](https://github.com/critcola/discourse-to-discord-webhook) This PHP script acts an intermediary between Discourse and Discord, receiving webhooks from Discourse and parsing them into an optimal format before relaying them to Discord. Demo See it in action and test it out for yourself on [Crit Cola’s Discourse](https://critcola.com/community/?utm_source=meta.discourse.org&utm_medium=extras-topic&utm_term=demo&utm_content=discourse-to-discord-webhook&utm_campaign=development) and [Discord](https://discord.critcola.com). Installation Just clone it! git clone https://github.com/critcola/discourse-to-discord-we…

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [July 31, 2017, 8:54am UTC](https://meta.discourse.org/t/has-any-one-tried-webhooks-with-discord/51785/7 "2017-07-31T08:54:27Z")

</div>

Another option is the new discourse-chat-integration plugin I’m working on - it can post new topics to Discord without Zapier or scripts on any other server.

> [@Set up Discord notifications with the discourse-chat-integration plugin](https://meta.discourse.org/t/set-up-discord-notifications-using-the-discourse-chat-integration-plugin/66600):
>
> bookmark This guide explains how to configure Discord notifications for your Discourse forum using the discourse-chat-integration plugin. This plugin is included with Discourse — no separate installation is required. person_raising_hand Required user level: Administrator Set up Discord webhook Log into your Discord server Click your server name and choose “Server Settings” Click Integrations, then Webhooks. Then click Create Webhook Choose a bot name, icon…

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 8, 2024, 12:37pm UTC](https://meta.discourse.org/t/has-any-one-tried-webhooks-with-discord/51785/9 "2024-06-08T12:37:16Z")

</div>

This topic was automatically closed after 2787 days. New replies are no longer allowed.
