Update voice webhook URL and/or disable SMS webhooks for a phone number.
This endpoint allows you to update the voice webhook URL and optionally disable SMS webhooks. SMS webhook URLs are managed automatically through assistant assignment.
Args: webhook_data: Webhook update details including phone number and voice URL
Returns: UpdateWebhookResponse: Update confirmation with details
Documentation Index
Fetch the complete documentation index at: https://docs.burki.dev/llms.txt
Use this file to discover all available pages before exploring further.
phone_number (string, required): The phone number to update in E.164 format (e.g., +1234567890)voice_webhook_url (string, optional): URL for voice call webhooksdisable_sms (boolean, optional): Set to true to disable SMS webhooks. Default: falseenable_sms (boolean, optional): Set to true to enable SMS webhooks based on assigned assistant. Default: falseprovider (string, optional): Provider (twilio or telnyx). Auto-detected if not provideddisable_sms and enable_sms to true in the same request.
sms_webhook_url. Use this endpoint to temporarily disable SMS handling:
https://demo.twilio.com/welcome/sms/replysms_webhook_url configured/twilio-sms-webhook and enables messaging service/telnyx-webhooksms_webhook_urlvoice_webhook_url, disable_sms, or enable_sms must be provideddisable_sms and enable_sms to true in the same requestsms_webhook_url configuredBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request model for updating phone number webhooks.
Phone number to update webhooks for
URL for voice call webhooks
Set to true to disable SMS webhooks (sets to demo URL)
Set to true to enable SMS webhooks based on assigned assistant
Provider ('twilio' or 'telnyx'). Auto-detected if not provided