Endpoint
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | HTTPS endpoint to receive events |
| events | array | No | Event types to subscribe (empty = all) |
Example
curl -X POST https://api.wede.pt/v1/webhooks \
-H "x-wede-api-key: wede_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://yourapp.com/webhooks/wede",
"events": ["EMERGENCY", "DISPATCH"]
}'

