Skip to main content
GET
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 Read website agent settings for one owned number, including its current revision and optional appearance configuration.
Method: GET ·
Success: 200 ·
Scope: Owning account
The important part
  • Read the web settings for the owned number.
  • A saved setting is not a live browser connection test.

Authentication

Send Authorization: Bearer KEY_ID:KEY_SECRET using the owning account’s server-side credential.

Request fields

Do not send a request body. Read defaults describe the displayed value, not necessarily a persisted setting. web_agent_enabled is read-only on this endpoint. The inbox feature must be enabled; responses use Cache-Control: no-store. The appearance object is null until saved. Its footer is always returned as Powered by Nixflex. Installation timestamps can be null when the widget has not been seen.

Response fields

200 OK returns the shape below. Nullable fields can be unknown or unset; do not turn null into zero or false.

Example request

These examples require Node/CLI 0.11.0 or later, Python 0.4.0 or later and MCP 0.5.0 or later. Keep NIXFLEX_API_KEY private. cURL uses Bash; CLI uses PowerShell and reads the key through NIXFLEX_API_KEY. Replace fixture identifiers and reserved example numbers with approved account-owned values. Configure the existing MCP installation for the same account at https://api.nixflex.com before using the shown tool arguments. Python shows the synchronous client; AsyncNixflex uses the same method with async with and await.

Example response

Illustrative 200 response. Identifiers and values are examples; some optional or compatibility fields are omitted.

Errors

Failures return an error object with code, message, doc_url and optional details. Each code links to the shared error catalog. Read the message and details before deciding whether to resend.

Retry and idempotency

This is a read-only request. Retry transient connection or server failures with bounded backoff; respect Retry-After for 429. Do not retry validation or ownership errors unchanged. A later read can return newer state.

Authorizations

Authorization
string
header
required

KEY_ID:KEY_SECRET from the owning account. Keep it server-side. A verified personal dashboard Bearer session may be used where the operation documents role-based access.

Path Parameters

number
string
required

International number with + and digits; no spaces.

Pattern: ^\+[1-9][0-9]{6,14}$

Response

OK

phone_number
string
required

International number with + and digits; no spaces.

Pattern: ^\+[1-9][0-9]{6,14}$
agent_id
string | null
required

Assigned agent.

web_prompt
string | null
required

Saved website instructions.

web_appearance
object | null
required

Complete appearance value, not a nested merge. Database JSON representation must be at most 32,000 bytes.

appearance_version
integer
required

Current appearance schema version.

web_design
integer
required

Saved design, displayed as 1 when unset.

web_color
string
required

Saved colour, displayed as #25D366 when unset.

web_name
string
required

Saved name, displayed as empty when unset.

web_chips
string
required

Saved comma-separated questions, empty when unset.

web_calls_enabled
boolean
required

Saved voice setting, false when unset.

web_agent_enabled
boolean | null
required

Current chat enabled setting; read-only here.

revision
string
required

Opaque decimal settings revision. Send current value in PATCH; 0 before an installation exists.

install_id
string | null
required

Public widget installation ID, not an API credential.

first_seen_at
string<date-time> | null
required

Saved timestamp, or null.

last_seen_at
string<date-time> | null
required

Saved timestamp, or null.