Developers Webhook Payload
If you enable Webhook as a delivery channel, Dexion will send an HTTP POST request to your provided endpoint whenever an alert triggers. If it results in an error, Dexion will set the webhook status to interrupted and you would be responsible for enabling it back again.
Headers
Content-Type: application/json
Authorization: Bearer <YOUR_WEBHOOK_TOKEN>Payload Format
{
"alert": {
"id": "string (UUID)",
"metric": "string",
"operator": "string",
"value": "number",
"ca": "string",
"triggeredAt": "string (ISO 8601 datetime)"
},
"token": {
"symbol": "string",
"name": "string",
"contract_id": "string",
"image_url": "string (URL)",
"metrics": {
"price_usd": "number",
"marketcap_usd": "number",
"liquidity_usd": "number",
"volume_1d_usd": "number",
"price_change_1d": "number"
}
}
}