Trigger test webhook (test environment only)
POST/v1/Webhooks/test
Triggers a realistic webhook delivery through the real pipeline (queue → dispatcher → HMAC-signed HTTP delivery).
⚠️ TEST ENVIRONMENT ONLY - Returns 403 in production. Use testreferral-api.debitura.com for testing.
How it works:
- Looks up real entity data (case or client link) to construct a realistic payload
- Publishes through the same pipeline as production events (signature verification, retries, etc.)
- Returns immediately after enqueueing — delivery is async via Azure Queue
Case events (case.created, case.updated):
- Requires
caseId— must be a real case belonging to a linked client - For
case.updated: optionally provideoldLifecycleandnewLifecycle(defaults to current → Closed)
Client events (client.linked, client.link_declined, client.onboarding.poa_signed, client.onboarding.contract_signed):
- Requires
externalTenantId— must be an active client link belonging to your account
Request
Responses
- 200
- 400
- 401
- 403
- 404
Test event enqueued successfully
Invalid request (missing required fields or invalid event type)
API key is missing or invalid
Endpoint not available in production environment
Case or client link not found