WEBHOOKS
Testing in sandbox
Test webhook endpoints safely using sandbox events before enabling production delivery.
Real-time
Event driven
As events happen
Reliable delivery
Automatic retries
Exponential backoff
Signatures
HMAC SHA-256
Verify every payload
Endpoint limit
100 endpoints
Per tenant
Payload
JSON
Versioned envelope
Sandbox endpoints
Use a sandbox webhook endpoint and sandbox credentials before requesting production activation.
Trigger test event
Test event
POST https://api.mediloop.com/v1/webhooks/wh_123/test
{ "type":"prescription.signed" }Test payloads
Test payloads use the same event envelope and signature mechanism as production, with sandbox identifiers.
Local development
Use an HTTPS tunnel only for development. Never expose local admin endpoints or production secrets through the tunnel.
Inspect attempts
Go-live checklist
| Check | Expected |
|---|---|
| HTTPS | Valid trusted certificate |
| Signature verification | Enabled before processing |
| Idempotency | Event IDs deduplicated |
| Fast acknowledgement | 2xx returned promptly |
| Retries | Handler tolerates duplicates |
| Monitoring | Failures alert your team |