Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/jAtInn71/chatwoot-costom/llms.txt

Use this file to discover all available pages before exploring further.

The inbox_config endpoint returns the complete configuration for a web widget inbox. The widget calls this endpoint every time the chat bubble is opened, so any changes made in the Chatwoot dashboard — such as enabling or disabling the ElevenLabs voice agent — take effect on the next bubble click without requiring a page reload.

Endpoint

GET /api/v1/widget/conversations/inbox_config

Authentication

This endpoint does not require an agent session. It identifies the inbox using the website_token query parameter, which is the token from your widget embed script.
The website_token is available from the Chatwoot dashboard under Settings → Inboxes → your inbox → Configuration → Installation. It is embedded in the <script> tag you add to your site.

Query parameters

website_token
string
required
The website token that identifies the web widget inbox. This value comes from the widget embed script tag and uniquely maps the request to the correct inbox and its channel configuration.

Response

A successful response returns HTTP 200 with a JSON body structured as { payload: { inbox: { ... } } }.
payload
object
Top-level wrapper object.

Example request

curl "https://your-chatwoot-domain.com/api/v1/widget/conversations/inbox_config?website_token=YOUR_WEBSITE_TOKEN"

Example response

{
  "payload": {
    "inbox": {
      "id": 3,
      "name": "Support Widget",
      "selected_feature_flags": ["elevenlabs_voice"],
      "voice_agent_provider": "elevenlabs",
      "voice_agent_api_key": "",
      "voice_agent_config_data": {
        "agent_id": "agent_01jxample000000000000000",
        "voice_id": "voice_01jxample000000000000000",
        "agent_name": "AI Assistant"
      },
      "elevenlabs_agent_id": "agent_01jxample000000000000000"
    }
  }
}

Notes

The widget dispatches voiceAgentConfig/fetchVoiceAgentConfig on every chat bubble open event. This means dashboard changes to voice agent settings take effect on the visitor’s next widget open without a page reload.
The voice button in the widget is shown only when all three conditions are met: selected_feature_flags includes "elevenlabs_voice", voice_agent_provider is "elevenlabs", and an agent_id is present in either voice_agent_config_data or elevenlabs_agent_id.

Build docs developers (and LLMs) love