v1

latestOpenAPI 3.0.32026-07-264955102.7 KB
Webhooks

Update webhook

Updates a webhook endpoint. Only the fields you provide are changed. Omitted fields are left untouched.

put/v2/api/webhooks/{webhook_id}

Path parameters

webhook_idstring required
Example:ep_2NfDKEm9sF8xK3pQr1Zt

The webhook endpoint ID (e.g. "ep_2NfDKEm9sF8xK3pQr1Zt").

Request body

urlstring uri

New HTTPS delivery URL.

topicsWebhookTopic[]

Replacement set of event topics.

descriptionstring

New label.

enabledboolean

Enable or disable the endpoint.

Example request

{
  "topics": [
    "call.received"
  ]
}

Response

Webhook updated

Example response

{
  "data": {
    "id": "ep_2NfDKEm9sF8xK3pQr1Zt",
    "topics": [
      "call.received"
    ]
  }
}