Skip to main content
FIXED · number Website chat and website voice offer eligible custom functions only. Built-in calendar booking and availability are excluded. Phone and eligible SMS can use a configured calendar. NOT OFFERED → do this instead · number Website install code is available only from the dashboard for now. The public API does not return ready-to-paste install HTML. Use the dashboard Install action for each customer’s number. The settings read includes install_id. An install receipt only reports that a widget was seen. YOU CAN CHANGE · number Enable website custom functions only when every enabled function on that number is safe for public visitors. To offer booking, share the business’s booking link or hand off to phone or SMS. Website voice uses one stored switch: 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

Keep NIXFLEX_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

Keep revision 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.

5. Install and inspect

Copy the current Install snippet from the dashboard. If installation is not ready, resolve the installation setup first. Test contact collection and microphone access on the installed site, then inspect the website inbox. Visitor-supplied details are unverified.

Example response

GET returns a safe settings projection and revision. A successful save returns the new state; do not fabricate a permanent browser token or script URL from the account API credential.

Errors and limits

Next steps