Skip to main content
POST
/
v1
/
webhooks
/
{webhookId}
/
test
Send a test event
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>"
  }
}

Authorizations

Authorization
string
header
required

Pass your API key as a Bearer token: Authorization: Bearer ld_live_...

Path Parameters

webhookId
string
required

The webhook ID

Body

application/json
data
object

Optional custom data to include in the test event

Response

Test event sent

ok
enum<boolean>
required
Available options:
true
data
object
required