WEBHOOKS
Webhook endpoints
Create, list, update, disable and delete webhook endpoints for your integration.
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
Create endpoint
POST /webhooks
POST https://api.mediloop.com/v1/webhooks
{
"url":"https://example.com/mediloop",
"events":["payment.succeeded","prescription.signed"],
"active":true
}Request body
| Field | Type | Required | Description |
|---|---|---|---|
| url | uri | Yes | HTTPS destination |
| events | string[] | Yes | Subscribed event patterns |
| active | boolean | No | Enable endpoint |
| description | string | No | Human-readable label |
List endpoints
GET
GET https://api.mediloop.com/v1/webhooksUpdate endpoint
PATCH
PATCH https://api.mediloop.com/v1/webhooks/wh_123Disable endpoint
Set active=false to stop delivery while retaining history and configuration.
Delete endpoint
Delete only when delivery history no longer needs the endpoint configuration. Existing audit records remain immutable.
Example response
Endpoint
{
"id":"wh_123",
"url":"https://example.com/mediloop",
"events":["prescription.*"],
"active":true
}