FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Other
TEXT MESSAGE
0/300
⚡ Test Our Private Nodes of 40+ Blockchains just for $50!
Endpoints
Get all your webhooks
https://api.getblock.io/external/webhook/
x-api-key string - GetBlock API key to access GetBlock Tracker API.
Array of objects
id string - webhook id.
name string - webhook name.
expression string - boolean expression to trigger the webhook.
url string - your target URL to receive webhook notifications.
protocol string - protocol of the node (BNB Smart chain).
network string - network of the node (mainnet).
draft bool - true, if the webhook is draft, false – if not.
enabled bool - true, if the webhook is enabled, false – if not.
failed bool - true, if URL of the webhook doesn’t work (status code not 200 or smt).
Object
description string - description of what went wrong.
status_code int - status code of the response.
Request
curl --location --request GET 'https://api.getblock.io/external/webhook/' \ --header 'x-api-key: YOUR-API-KEY' \ --header 'Content-Type: application/json'
Response
[ { "id": "374173823", "name": "Webhook 1, "draft": false, "enabled": true "failed": false, "url": "https://webhook.site/", "expression": "(block_number == 1)", "protocol": "bsc", "network": "mainnet" }, { "id": "374173817", "name": "Webhook 2", "draft": true, "enabled": false, "failed": true, "url": "", "expression": "(transaction_transactionHash == "0x91e44d7d3d8ebb0b5a9e4b0a276c0124281750182dfac5abead8efc752e6246a")", "protocol": "", "network": " } ]