Skip to main content
PUT
Update webhook
Scope requis : WEBHOOKS_READ_WRITE
Met à jour un endpoint webhook. Seuls les champs envoyés sont modifiés ; les champs omis restent inchangés. Envoyez enabled: false pour suspendre les livraisons sans supprimer l’endpoint.

Autorisations

Authorization
string
header
requis

Paramètres de chemin

webhook_id
string
requis

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

Exemple:

"ep_2NfDKEm9sF8xK3pQr1Zt"

Corps

application/json

All fields optional. Only the fields you provide are changed.

url
string<uri>

New HTTPS delivery URL.

topics
enum<string>[]

Replacement set of event topics.

An event topic. See the Event Catalog for payloads.

Options disponibles:
call.received,
call.triggered,
call.answered,
call.completed,
tag.added,
tag.removed,
sms.received,
sms.sent,
contact.created,
contact.updated,
summary.updated
description
string

New label.

enabled
boolean

Enable or disable the endpoint.

Réponse

Webhook updated

data
object

A webhook endpoint.