Webhooks & Events
The V1 API utilizes webhooks for publishing events. You can provide a webhook URL in your API dashboard.
First, you need a publicly accessible server with an endpoint listening to POST requests. Enter this URL in your dashboard. Additionally you may enter a "Webhook Secret" along the way. This can be any text of 64 characters or less and will be sent with every webhook call in order for you to authorize that the webhook call came from us.
Every webhook event payload looks like this:
"data": <object | array>
"data": [ 142312, 499128 ]
? fields are optional