Skip to main content
Question

Webhooks to Third Party App

  • March 3, 2020
  • 0 replies
  • 58 views

Hi,
Trying to setup a webhook to a 3rd party app (called Discord) where everytime a new record is added in QB it pushes a message to Discord saying new product was added.  Below is screenshot of what I currently have setup (i've removed some info like token keys). I just don't know what to put in the message header for "key" and "value"


------------------------------
Derek Pipal
------------------------------
This topic has been closed for replies.

  • Quickbase Alumni
  • March 3, 2020
It looks like you have it set up to send this to QuickBase as you have what QuickBase expects to see in your message body.

I would take a look at the Discord help documentation on webhooks and see what Discord expects instead. One word of caution is that Discord prefers JSON, not XML.

As far as the message header I think you would use "Content-Type" and then "application/json" respectively. You are going to want to make sure you are sending JSON though but you could try XML as well if you change the message header.

https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks
https://discordapp.com/developers/docs/resources/webhook