Webhooks
Creating a webhook
curl https://mainnet.mercurydata.app/rest/webhooks/new \
-H 'Authorization: Bearer <your-jwt>' \
-H 'Content-Type: application/json' \
-d '{
"webhook_endpoint": "https://your-endpoint.com/webhook",
"contract_ids": ["CDVNV4...", "CDDNV3..."]
}'{
"ids": [42, 43],
"secret": "whsec_a1b2c3d4e5f6..."
}Supplying your own secret
Topic filtering
Listing webhooks
Deleting a webhook
Webhook payload
Headers
Verifying signatures
Last updated