Webhooks data
In this article:
- What data is POSTed to my endpoint
What data is sent depends on which webhook was registered. For ` publish_chart
the body of the request will look like the following:
<code>{ id: <The numeric chart id for the published chart> iframe: { remote: <A URL of the form 'https://app.everviz.com/embed/{uuid}>', script: <The data retrieved from loading the above endpoint>, embedCode: <The embed code for the chart>, }, inject: { remote: <A URL of the form: 'https://app.everviz.com/inject/{uuid}>', script: <The data retrieved from loading the above endpoint>, embedCode: <The inject code for the chart> } }
A quick way to get started is to log the request as it comes in and adjust from there. Every one of our webhooks makes a POST.