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
Manage a number’s website settings with revision checks, then verify the dashboard-generated installation on the real site.
Scope: Owned number ·
Save guard: Observed revision ·
Install: Generated snippet
The important part
- Never give the browser the account API credential.
- Website voice needs both the Web agent and voice switches enabled.
- Public visitor details are unverified, and enabled custom functions must be safe for them.
Choose the task
Prerequisites
KeepNIXFLEX_API_KEY private on the server. Raw HTTP base URL: https://api.nixflex.com/v1. Node and Python SDK base URL: https://api.nixflex.com. The SDK adds /v1. Use owned identifiers; SDK and CLI examples need the documented minimum versions. Choose an owned number. Browser visitors must never receive the account credential.
1. Read the current revision
2. Prepare focused settings
Keeprevision as the returned decimal string. Use the endpoint’s allowed settings fields only. Website instructions are independent from telephone and SMS prompts. The website prompt is limited to 16,000 UTF-16 code units.
3. Save with concurrency protection
PATCH/v1/agent-web/{number} with the observed revision and intended settings. On widget_settings_changed, reread and review the concurrent changes before saving. Do not silently overwrite another editor’s choices.
4. Check effective permissions
Website voice needs the Web agent enabled and its voice switch on. Knowledge has separate website-chat and website-voice channels.web_functions_enabled defaults off and applies to all enabled custom functions on that number; each must be safe for public visitors. Built-in phone booking, SMS, transfers, keypad and menu navigation remain unavailable.