phone_numbers.web_calls_enabled. Number PATCH (web_calls_enabled), web-agent PATCH (settings.web_calls_enabled) and web-calls integration PUT (enabled) write the same value.
SCOPE · number Configure each number’s sms_prompt for SMS and web_prompt for website chat and voice. Neither channel inherits its phone custom_prompt. Both still use the agent knowledge enabled for that channel and follow their own channel rules.
Read the compact AI rules
Install the current generated website snippet and verify chat, voice and inbox results on the actual site.
Install: Generated snippet ·
Credential: Server only ·
Verification: Actual website
The important part
- The browser must never receive the account API credential.
- Install code is dashboard-only. Select the customer’s number in the dashboard and copy its generated snippet into that customer’s site. The per-number website settings API returns settings, without an install snippet.
- A dashboard preview does not confirm the final website’s microphone, storage or embedding behaviour.
Prepare the owned number
Choose the number whose website conversations should appear in the inbox. Read its current website settings server-side. Website instructions are separate from telephone and SMS instructions, and knowledge has independent website-chat and website-voice channels. Effective voice requires bothweb_agent_enabled and web_calls_enabled, plus current account, agent, balance and admission checks. Turning the Web agent off does not erase the saved voice preference; it prevents effective access.
Save settings with the current revision
Keep the returned decimalrevision as a string. Send only intended settings through PATCH website settings. A focused illustrative body is:
12 with the observed revision; never hard-code it. On widget_settings_changed, read again and review the competing changes. Omitted top-level settings remain unchanged, but web_appearance is a complete replacement, not a nested merge.
Copy the current installation
Use the dashboard’s Install snippet for this number. If installation is not ready, resolve the installation setup first. Do not substitute an older SDK script, manufacture a browser token or embed a server credential. Place the supplied snippet in the intended site using its actual installation instructions. Keep account-management calls on your server. Test the resulting deployed page, including any embedding and browser security restrictions that differ from the dashboard preview.Verify the visitor journey
Only test approved actions. Built-in telephone booking, SMS, transfers, keypad and menu navigation remain unavailable in the website channel.
Review public custom functions
web_functions_enabled defaults off. Enabling it allows the number’s enabled custom functions after current checks; every such function must be suitable for an unverified public visitor. Do not grant account access based only on a visitor’s self-reported email or phone number.