set_cxml_webhook
set_cxml_webhook
Route inbound calls on this phone number to a cXML (Twilio-compat / LAML) webhook.
Despite the wire value laml_webhooks being plural, this creates a single
cxml_webhook Fabric resource on the server.
This is a typed wrapper over update that sets call_handler to
laml_webhooks and populates the URL fields for you.
For SWML webhooks, use
set_swml_webhook
instead.
Parameters
resource_id
ID of the phone number to bind.
url
Primary cXML webhook URL.
fallback_url
URL invoked when the primary URL fails.
status_callback_url
URL that receives call-status updates.
**extra
Additional fields forwarded to update.
Returns
dict — The updated phone number resource.