cURL
curl --request POST \ --url https://api.ledger.so/v1/webhooks/{webhookId}/test \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "data": {} }'
{ "ok": true, "data": { "eventId": "<string>" } }
Sends a test event to the webhook endpoint to verify it is receiving events correctly.
Pass your API key as a Bearer token: Authorization: Bearer ld_live_...
Authorization: Bearer ld_live_...
The webhook ID
Optional custom data to include in the test event
Test event sent
true
Show child attributes