GET
/webhookRetrieve a webhook destination
Retrieve one destination with its 7-day delivery stats.
Query Parameters
idstringrequired
The endpoint id
Example: "whe_20a18ce0"
Request
GET/webhook
curl --location 'https://api.ledgr.dev/v1/webhook' \
--header 'Authorization: {api_key}'Response
The destination with stats
{
"stats": {
"total": 6,
"avg_ms": 7,
"failed": 0,
"succeeded": 6
},
"status": "success",
"endpoint": {
"url": "https://...",
"name": "orders-listener",
"enabled": true,
"endpoint_id": "whe_20a18ce0"
}
}