Webhooks
Update a webhook endpoint
PATCH
Updates the URL, events, or description, or pauses the endpoint with enabled: false. Events that occur while an endpoint is paused are not delivered later.
Requires the webhooks:manage scope.
apiKeyheader
X-API-Key<token>Your API key, from Settings → API access in the dashboard.
endpoint_id*stringThe webhook endpoint's id.
Format
uuidapplication/json- body
url?stringFormat
urievents?array<>description?stringLength
length <= 200enabled?booleanThe updated endpoint.
application/json- response
id?stringFormat
uuidurl?stringFormat
uridescription?stringevents?array<>enabled?booleanlast_success_at?|Format
date-timelast_failure_at?|Format
date-timecreated_at?stringFormat
date-timeupdated_at?stringFormat
date-timecurl -X PATCH "https://example.com/webhooks/endpoints/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "events": [ "call.ended" ], "enabled": true }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "http://example.com", "description": "string", "events": [ "call.ended" ], "enabled": true, "last_success_at": "2019-08-24T14:15:22Z", "last_failure_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}