← API reference

Webhooks

Update webhook endpoint

PATCH /v1/webhook-endpoints/{id}

Enable, disable, or change subscribed events. Re-enable after auto-disable clears failure state.

Scopes: webhooks:write · Write key required

Path parameters

  • id — external id (call_, job_, etc.)

Request body

{
  "enabled": true,
  "events": [
    "call.completed"
  ]
}

Examples

BASH
curl -X PATCH "https://app.tryedison.com/api/v1/webhook-endpoints/call_0123456789abcdef" \
  -H "Authorization: Bearer ed_test_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{  "enabled": true,  "events": [    "call.completed"  ]}'