UniversalEscrow
DocumentationAPI reference
Webhooks

Send a test event

Sends a signed synthetic webhook.test event to this endpoint only and returns the delivery result: status SUCCEEDED for a 2xx, otherwise FAILED with responseStatus or errorMessage.

POST

https://testnet.universal-escrow.xyz/v1/webhook-endpoints/{id}/test

The event's data is { "test": true, "endpointId", "message" } — handlers should verify the signature, answer 2xx and do nothing else. Never retried; never fanned out by subscription; changes no escrow and does not change the endpoint's failure count, last success or status, so it also works on a disabled endpoint. Recorded like any other event (GET /v1/webhook-events). Costs 10 against the rate limit.

Authorizations

Authorizationstringheaderrequired

Bearer authentication with your secret API key: Bearer esc_test_<prefix>_<secret>. The key needs the webhooks:write scope.

How authentication works

Path Parameters

idstringrequired

Response

200 · WebhookTestResult · application/json

The test was sent; status says whether your endpoint accepted it.

eventIdstringrequired

The recorded webhook.test event, listed like any other event.

deliveryIdstringrequired

The single delivery row.

statusstringrequired

SUCCEEDED for a 2xx, otherwise FAILED. Never retried. One of SUCCEEDED, FAILED.

responseStatusinteger | nullrequired
responseBodyPreviewstring | nullrequired
durationMsinteger | nullrequired
errorMessagestring | nullrequired