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.
Modifier un webhook
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…
Autorisation
Authorizationstring · headerrequisApi-Key ak_live_…
Paramètres de chemin
webhook_idstringrequisThe webhook endpoint ID (e.g. "ep_2NfDKEm9sF8xK3pQr1Zt").
Corps
urlstring<uri>New HTTPS delivery URL.
topicsenum<string>[]Replacement set of event topics.
call.receivedcall.triggeredcall.answeredcall.completedtag.addedtag.removedsms.receivedsms.sentcontact.createdcontact.updatedsummary.updated
descriptionstringNew label.
enabledbooleanEnable or disable the endpoint.
Réponses
200Webhook updated
dataobjectA webhook endpoint.
7 champs
idstringUnique webhook endpoint ID.
urlstring<uri>HTTPS URL that receives event deliveries.
topicsenum<string>[]Event topics this endpoint is subscribed to.
call.receivedcall.triggeredcall.answeredcall.completedtag.addedtag.removedsms.receivedsms.sentcontact.createdcontact.updatedsummary.updated
descriptionstring | nullOptional human-readable label.
enabledbooleanWhether the endpoint is active.
signing_secretstring | nullSecret used to verify delivery signatures. Returned only when the webhook is created or fetched by ID.
created_atstring<date-time> | nullWhen the endpoint was created.