Update a webhook endpoint
Trillet OEM API: Accepts the same fields as create plus status.
PATCH
Accepts the same fields as create plus status. Setting status: "enabled" re-enables an
endpoint that was disabled after failing. Needs webhooks:write and a key that is not
restricted to some tenants.
Loading code example
Loading code example
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
idstringrequired
The webhook endpoint ID.
Pattern:
^[a-fA-F0-9]{24}$Body
Response
application/json
The updated endpoint.
objectstringrequiredidstringrequiredPattern:
^[a-fA-F0-9]{24}$urlstringrequireddescriptionstring | nullenabledEventsarray<"*" | "call.started" | "call.ended" | "call.analyzed" | "call.no_answer" | "call.failed" | "call.blocked" | "call.transferred" | "call.transfer_failed" | "tool.failed" | "booking.created" | "booking.cancelled" | "booking.rescheduled" | "recording.available" | "sms.received" | "sms.sent" | "sms.failed" | "workflow_run.completed" | "workflow_run.failed" | "number.provisioned" | "number.released" | "number.renewal_failed" | "tenant.created" | "tenant.updated" | "tenant.suspended" | "tenant.resumed" | "tenant.deleted" | "tenant.restored" | "usage.threshold_reached" | "endpoint.test">requiredstatus"enabled" | "disabled"requiredAllowed values:
"enabled" | "disabled"disabledReasonstring | nullfailingSincestring | null<date-time>includeConversationDataboolean | nullredactPIIbooleancreatedAtstring | null<date-time>Last updated on