dialogbrain-com · Schema

WidgetUpdateRequest

CompanyAICustomer SupportMessagingVoice

Properties

Name Type Description
name object New name for the widget
auto_reply_mode object Auto-reply mode: 'draft' or 'auto'. OMIT to leave the auto-reply mode unchanged.
primary_color object Primary color for widget theme (hex, e.g., '#2563eb'). Paints the header, the visitor's message bubbles and the send button — and the launcher bubble too unless launcher_color overrides it.
launcher_color object Hex color for the closed launcher bubble (e.g., '#ffffff'). Override this to use a different color than primary_color. Clear it to revert to primary_color.
position object Widget position on screen. OMIT to leave the position unchanged.
header_title object Title shown in chat header
header_subtitle object Subtitle shown in chat header
is_active object Enable or disable the widget. OMIT to leave the active flag unchanged.
allowed_domains object List of allowed domains for the widget
calendly_url object Booking URL for calendar action (e.g., 'https://calendly.com/yourname')
contact_form_fields object Fields to collect in contact form (e.g., ['name', 'email', 'phone'])
require_identification object Require visitor to identify before chatting. OMIT to leave the identification policy unchanged.
identification_fields object Fields to require for visitor identification (e.g., ['name', 'email'])
website_url object Website URL for product/site search integration
enable_search_action object Enable or disable the search action button. OMIT to leave this flag unchanged.
enable_form_action object Enable or disable the contact form action button. OMIT to leave this flag unchanged.
enable_calendar_action object Enable or disable the calendar booking action button. OMIT to leave this flag unchanged.
greeting_text object Custom greeting message shown when visitor opens the chat (e.g., 'Hello! How can I help you today?')
returning_greeting_text object Greeting for returning visitors who already have chat history (e.g., 'Welcome back! How can I help you today?'). Falls back to greeting_text if not set.
greeting_enabled object Enable or disable the proactive greeting. OMIT to leave this flag unchanged.
greeting_delay_seconds object Delay in seconds before the proactive greeting appears (0–300). 0 = send immediately on page load. Default: 30.
greeting_behavior object notification = show badge after delay; auto_open = open widget automatically after delay; on_open = greet only when visitor manually opens. OMIT to leave the greeting behavior unchanged.
color_scheme object Widget color scheme. 'auto' follows the visitor's OS dark/light mode preference. OMIT to leave the color scheme unchanged.
show_visitor_history object Show full chat history to returning visitors. OMIT to leave this flag unchanged.
allow_voice object Master switch for voice on this widget — set true to show the mic and let visitors talk to the agent. Everything else voice-related (greeting, button label, STT/TTS from the agent's own config) is ine
max_voice_duration_seconds object Hard cap on a single voice call from this widget, in seconds (default 300). OMIT to leave the cap unchanged.
voice_greeting object Spoken opening line when a visitor starts a voice call through this widget. Played via TTS before the AI model runs. Empty string disables the greeting. Requires allow_voice=true to be audible.
display_mode object How the widget renders: 'chat' (default) for the full panel with a microphone, 'voice_only' for a mic-only bubble that starts a call, 'headless' for no interface at all, driven through window.DialogBr
voice_button_label object Localized aria-label and hover tooltip for the voice-only mic bubble (only used when display_mode='voice_only'). ≤ 100 chars. Defaults to 'Talk to agent' if not set.
View JSON Schema on GitHub

JSON Schema

dialogbrain-com-src-api-v1-tool-schema-widget-update-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dialogbrain-com/json-schema/dialogbrain-com-src-api-v1-tool-schema-widget-update-request-schema.json",
  "title": "WidgetUpdateRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dialogbrain-com-openapi.json#/components/schemas/src__api__v1___tool_schema__WidgetUpdateRequest",
  "properties": {
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "description": "New name for the widget"
    },
    "auto_reply_mode": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "auto",
            "draft"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Auto Reply Mode",
      "description": "Auto-reply mode: 'draft' or 'auto'. OMIT to leave the auto-reply mode unchanged."
    },
    "primary_color": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Primary Color",
      "description": "Primary color for widget theme (hex, e.g., '#2563eb'). Paints the header, the visitor's message bubbles and the send button — and the launcher bubble too unless launcher_color overrides it."
    },
    "launcher_color": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Launcher Color",
      "description": "Hex color for the closed launcher bubble (e.g., '#ffffff'). Override this to use a different color than primary_color. Clear it to revert to primary_color."
    },
    "position": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "bottom-right",
            "bottom-left"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Position",
      "description": "Widget position on screen. OMIT to leave the position unchanged."
    },
    "header_title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Header Title",
      "description": "Title shown in chat header"
    },
    "header_subtitle": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Header Subtitle",
      "description": "Subtitle shown in chat header"
    },
    "is_active": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Is Active",
      "description": "Enable or disable the widget. OMIT to leave the active flag unchanged."
    },
    "allowed_domains": {
      "anyOf": [
        {
          "items": {},
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Allowed Domains",
      "description": "List of allowed domains for the widget"
    },
    "calendly_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Calendly Url",
      "description": "Booking URL for calendar action (e.g., 'https://calendly.com/yourname')"
    },
    "contact_form_fields": {
      "anyOf": [
        {
          "items": {},
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Contact Form Fields",
      "description": "Fields to collect in contact form (e.g., ['name', 'email', 'phone'])"
    },
    "require_identification": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Require Identification",
      "description": "Require visitor to identify before chatting. OMIT to leave the identification policy unchanged."
    },
    "identification_fields": {
      "anyOf": [
        {
          "items": {},
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Identification Fields",
      "description": "Fields to require for visitor identification (e.g., ['name', 'email'])"
    },
    "website_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Website Url",
      "description": "Website URL for product/site search integration"
    },
    "enable_search_action": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Enable Search Action",
      "description": "Enable or disable the search action button. OMIT to leave this flag unchanged."
    },
    "enable_form_action": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Enable Form Action",
      "description": "Enable or disable the contact form action button. OMIT to leave this flag unchanged."
    },
    "enable_calendar_action": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Enable Calendar Action",
      "description": "Enable or disable the calendar booking action button. OMIT to leave this flag unchanged."
    },
    "greeting_text": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Greeting Text",
      "description": "Custom greeting message shown when visitor opens the chat (e.g., 'Hello! How can I help you today?')"
    },
    "returning_greeting_text": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Returning Greeting Text",
      "description": "Greeting for returning visitors who already have chat history (e.g., 'Welcome back! How can I help you today?'). Falls back to greeting_text if not set."
    },
    "greeting_enabled": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Greeting Enabled",
      "description": "Enable or disable the proactive greeting. OMIT to leave this flag unchanged."
    },
    "greeting_delay_seconds": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Greeting Delay Seconds",
      "description": "Delay in seconds before the proactive greeting appears (0–300). 0 = send immediately on page load. Default: 30."
    },
    "greeting_behavior": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "notification",
            "auto_open",
            "on_open"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Greeting Behavior",
      "description": "notification = show badge after delay; auto_open = open widget automatically after delay; on_open = greet only when visitor manually opens. OMIT to leave the greeting behavior unchanged."
    },
    "color_scheme": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "light",
            "dark",
            "auto"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Color Scheme",
      "description": "Widget color scheme. 'auto' follows the visitor's OS dark/light mode preference. OMIT to leave the color scheme unchanged."
    },
    "show_visitor_history": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Show Visitor History",
      "description": "Show full chat history to returning visitors. OMIT to leave this flag unchanged."
    },
    "allow_voice": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Allow Voice",
      "description": "Master switch for voice on this widget — set true to show the mic and let visitors talk to the agent. Everything else voice-related (greeting, button label, STT/TTS from the agent's own config) is inert until this is on. The mic also needs a voice-capable agent in the workspace: one with an enabled incoming_call trigger. OMIT to leave the setting unchanged."
    },
    "max_voice_duration_seconds": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Voice Duration Seconds",
      "description": "Hard cap on a single voice call from this widget, in seconds (default 300). OMIT to leave the cap unchanged."
    },
    "voice_greeting": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Voice Greeting",
      "description": "Spoken opening line when a visitor starts a voice call through this widget. Played via TTS before the AI model runs. Empty string disables the greeting. Requires allow_voice=true to be audible."
    },
    "display_mode": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "chat",
            "voice_only",
            "headless"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Display Mode",
      "description": "How the widget renders: 'chat' (default) for the full panel with a microphone, 'voice_only' for a mic-only bubble that starts a call, 'headless' for no interface at all, driven through window.DialogBrain."
    },
    "voice_button_label": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Voice Button Label",
      "description": "Localized aria-label and hover tooltip for the voice-only mic bubble (only used when display_mode='voice_only'). ≤ 100 chars. Defaults to 'Talk to agent' if not set."
    }
  },
  "type": "object"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/dialogbrain-com-src-api-v1-tool-schema-widget-update-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.