Title: How to integrate with Discord Webhook
Last modified: October 10, 2024

---

# How to integrate with Discord Webhook

 *  Resolved [captainlin](https://wordpress.org/support/users/captainlin/)
 * (@captainlin)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/how-to-integrate-with-discord-webhook/)
 * Dear Support:
 * How to make the webhook action of Uncanny Automator to send messages to Discord
   Webhook?
 * I have posted the webhook URL to Uncanny Automator and hit the test button, but
   to find errors below.
 * **Server has responded with error code: 400 [https://discord.com/api/webhooks/1293757624130736158/8AU3WNPdUd78DFUnhIPm5idV6eZA3p-S340o2zsM_EkmWmW1QM_frolVQK5CmUXCGtK_](https://discord.com/api/webhooks/1293757624130736158/8AU3WNPdUd78DFUnhIPm5idV6eZA3p-S340o2zsM_EkmWmW1QM_frolVQK5CmUXCGtK_)**
 * **Headers**
   {“date”:”Thu, 10 Oct 2024 03:04:06 GMT”,”content-type”:”application\/
   json”,”content-length”:”58″,”set-cookie”:[“__dcfduid=4fb93e5086b411efb3f9f29d685c97a3;
   Expires=Tue, 09-Oct-2029 03:04:06 GMT; Max-Age=157680000; Secure; HttpOnly; Path
   =\/; SameSite=Lax”,”__sdcfduid=4fb93e5086b411efb3f9f29d685c97a3b4ef2934cfa837c8070e36303f44108558ca1ed9678235fe8e80bca57a233a69;
   Expires=Tue, 09-Oct-2029 03:04:06 GMT; Max-Age=157680000; Secure; HttpOnly; Path
   =\/; SameSite=Lax”,”__cfruid=dcd0035121dc5458e2077e0d8ab1d6e60514cca1-1728529446;
   path=\/; domain=.discord.com; HttpOnly; Secure; SameSite=None”,”_cfuvid=YWLzu2DssaSibKlbch8anF2pIxyOZmdgBj7dcQLeFys-
   1728529446268-0.0.1.1-604800000; path=\/; domain=.discord.com; HttpOnly; Secure;
   SameSite=None”],”strict-transport-security”:”max-age=31536000; includeSubDomains;
   preload”,”x-ratelimit-bucket”:”3d2712a9e4fe17cc9d3fed4a8e672e5f”,”x-ratelimit-
   limit”:”5″,”x-ratelimit-remaining”:”4″,”x-ratelimit-reset”:”1728529447″,”x-ratelimit-
   reset-after”:”1″,”via”:”1.1 google”,”alt-svc”:”h3=\”:443\”; ma=86400″,”cf-cache-
   status”:”DYNAMIC”,”report-to”:”{\”endpoints\”:[{\”url\”:\”https:\\\/\\\/a.nel.
   cloudflare.com\\\/report\\\/v4?s=OpVaZ3Q5oaf3Deyl1BAEyFRtJr9BJvMwao9x96O3fZXBy4bIJttUmfdzuCiLztYjtyIQlQVhpKBVG7Y3lxkOnIc4DExhH%
   2FZLX9uNXwZBJ%2FVWDx0sX0q861%2B0vSKL\”}],\”group\”:\”cf-nel\”,\”max_age\”:604800}”,”
   nel”:”{\”success_fraction\”:0,\”report_to\”:\”cf-nel\”,\”max_age\”:604800}”,”
   x-content-type-options”:”nosniff”,”content-security-policy”:”frame-ancestors ‘
   none’; default-src ‘none'”,”server”:”cloudflare”,”cf-ray”:”8d03618d68e14679-SIN”}
 * **Body**
   {“message”: “Cannot send an empty message”, “code”: 50006}
 * Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Uncanny Automator](https://wordpress.org/support/users/uncannyautomator/)
 * (@uncannyautomator)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/how-to-integrate-with-discord-webhook/#post-18077603)
 * Hi [@captainlin](https://wordpress.org/support/users/captainlin/) ,
 * Apologies for the delay.
 * Could you send us a screenshot of the recipe with everything expanded so we can
   see how the webhook request is set up?
 * The error message is coming from Discord and it suggests that you’re missing 
   a parameter or have an empty token. If you are using tokens, we need to better
   understand how they’re being populated so we can figure out why what you’re sending
   might be blank or have missing data.
 * Thanks
 *  [chelminski](https://wordpress.org/support/users/chelminski/)
 * (@chelminski)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/how-to-integrate-with-discord-webhook/#post-18116725)
 * Hi [@captainlin](https://wordpress.org/support/users/captainlin/) !
 * If you want to send webhooks of text only (not embed), just enter content in 
   the metakey and your message in the Value field.
 * ![](https://i0.wp.com/media.discordapp.net/attachments/1186340818257203412/1303565918705549335/
   image.png?ssl=1)
 * If you want embed content then you need to change data format to JSON. Then add
   all required metakeys, and Values. If you want embed content you need to change
   the data format to JSON. Then add all required metakeys, and Values. You can 
   use e.g. [https://discohook.org/](https://discohook.org/) to design it, but then
   you have to type everything manually.
 * You can check also this thread: [Here is the link](https://wordpress.org/support/topic/webhook-but-discord/)
 * Greetings,
   chelminski
    -  This reply was modified 1 year, 5 months ago by [chelminski](https://wordpress.org/support/users/chelminski/).
      Reason: Link added
 *  [Saurabh](https://wordpress.org/support/users/saurabhshukla/)
 * (@saurabhshukla)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/how-to-integrate-with-discord-webhook/#post-18118724)
 * Hi [@captainlin](https://wordpress.org/support/users/captainlin/),
 * As helpfully pointed out by [@chelminski](https://wordpress.org/support/users/chelminski/),
   you’d have to provide additional information as parameters along with the webhook
   as key value pairs in the body of the webhook. See: [https://automatorplugin.com/knowledge-base/send-data-to-a-webhook/](https://automatorplugin.com/knowledge-base/send-data-to-a-webhook/)
   and [https://discord.com/developers/docs/resources/webhook#execute-webhook-jsonform-params](https://discord.com/developers/docs/resources/webhook#execute-webhook-jsonform-params)
   for a reference to the keys.
 * The error you’ve received seems to indicate that you need to set up the content
   parameter. See [https://stackoverflow.com/questions/54879325/i-keep-receiving-an-empty-message-error-when-trying-to-post-a-webhook](https://stackoverflow.com/questions/54879325/i-keep-receiving-an-empty-message-error-when-trying-to-post-a-webhook)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How to integrate with Discord Webhook’ is closed to new replies.

 * ![](https://ps.w.org/uncanny-automator/assets/icon.svg?rev=2769432)
 * [Uncanny Automator - Easy Automation, Integration, Webhooks & Workflow Builder Plugin](https://wordpress.org/plugins/uncanny-automator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/uncanny-automator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/uncanny-automator/)
 * [Active Topics](https://wordpress.org/support/plugin/uncanny-automator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/uncanny-automator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/uncanny-automator/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Saurabh](https://wordpress.org/support/users/saurabhshukla/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/how-to-integrate-with-discord-webhook/#post-18118724)
 * Status: resolved