# 有人试过用Webhook与Discord吗？

**URL:** <https://meta.discourse.org/t/has-any-one-tried-webhooks-with-discord/51785>\
**Category:** Support\
**Created:** [2016年十月20日 13:29 UTC](https://meta.discourse.org/t/has-any-one-tried-webhooks-with-discord/51785 "2016-10-20T13:29:08Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [2016年十月20日 14:48 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).

---

_[View the full topic](https://meta.discourse.org/t/has-any-one-tried-webhooks-with-discord/51785)._
