Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Update an existing inbox
cURL
web_widget
curl --request PATCH \ --url https://app.chatwoot.com/api/v1/accounts/{account_id}/inboxes/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Support", "greeting_enabled": true, "greeting_message": "Hello, how can I help you?", "enable_email_collect": true, "enable_auto_assignment": true, "working_hours_enabled": true, "timezone": "America/New_York", "allow_messages_after_resolved": true, "channel": { "website_url": "https://example.com", "welcome_title": "Welcome to our support", "welcome_tagline": "We are here to help you", "widget_color": "#FF5733", "reply_time": "in_a_few_minutes", "pre_chat_form_enabled": false, "continuity_via_email": true, "hmac_mandatory": false, "selected_feature_flags": [ "attachments", "emoji_picker", "end_conversation" ] } } '
{ "id": 123, "name": "<string>", "website_url": "<string>", "page_id": "<string>", "instagram_id": "<string>", "business_id": "<string>", "provider_name": "<string>", "profile_id": "<string>", "line_channel_id": "<string>", "email": "<string>", "bot_name": "<string>", "inbox_identifier": "<string>", "channel_type": "<string>", "avatar_url": "<string>", "widget_color": "<string>", "website_token": "<string>", "enable_auto_assignment": true, "web_widget_script": "<string>", "welcome_title": "<string>", "welcome_tagline": "<string>", "greeting_enabled": true, "greeting_message": "<string>", "channel_id": 123, "working_hours_enabled": true, "enable_email_collect": true, "csat_survey_enabled": true, "auto_assignment_config": {}, "out_of_office_message": "<string>", "working_hours": [ { "day_of_week": 123, "closed_all_day": true, "open_hour": 123, "open_minutes": 123, "close_hour": 123, "close_minutes": 123, "open_all_day": true } ], "timezone": "<string>", "callback_webhook_url": "<string>", "allow_messages_after_resolved": true, "lock_to_single_conversation": true, "sender_name_type": "<string>", "business_name": "<string>", "branded_email_layout": "<string>", "hmac_mandatory": true, "selected_feature_flags": [ "<string>" ], "reply_time": "<string>", "messaging_service_sid": "<string>", "phone_number": "<string>", "medium": "<string>", "provider": "<string>" }
{ "description": "<string>", "errors": [ { "field": "<string>", "message": "<string>", "code": "<string>" } ] }
Authenticate with Authorization: Bearer <token> using a user API token from Profile Settings. Available in Chatwoot v4.19.0 and later.
Authorization: Bearer <token>
v4.19.0
The numeric ID of the account
ID of the inbox
The name of the inbox.
"Support"
Image file for avatar.
Enable greeting message.
true
Greeting message to send when greeting messages are enabled.
"Hello, how can I help you?"
Enable email collection.
Available for: Website
Website
Enable CSAT survey.
CSAT survey configuration.
Show child attributes
Enable Auto Assignment.
Enable working hours.
Out of office message to send outside working hours.
"We are currently out of office. Please leave a message and we will get back to you."
Timezone of the inbox.
"America/New_York"
Allow messages after conversation is resolved.
Lock contact messages to a single active conversation.
Available for: API LINE Telegram WhatsApp SMS
API
LINE
Telegram
WhatsApp
SMS
Id of the help center portal to attach to the inbox.
1
Sender name type for outbound email replies.
Available for: Website Email
Email
friendly
professional
"friendly"
Business name for outbound email replies.
"My Business"
Liquid HTML layout for outbound email replies. Must include {{ content_for_layout }} and be 262,144 characters or shorter.
{{ content_for_layout }}
Available for: Email
262144
"<html><body>{{ content_for_layout }}</body></html>"
Success
The name of the inbox
Website URL
Facebook Page ID associated with the inbox
Instagram account ID associated with the inbox
TikTok business ID associated with the inbox
Provider username or page name associated with the social inbox
X profile ID associated with the inbox
LINE channel ID associated with the inbox
Email address associated with the inbox
Telegram bot name associated with the inbox
Public identifier associated with an API inbox
The type of the inbox
The avatar image of the inbox
Widget Color used for customization of the widget
Website Token
The flag which shows whether Auto Assignment is enabled or not
Script used to load the website widget
Welcome title to be displayed on the widget
Welcome tagline to be displayed on the widget
The flag which shows whether greeting is enabled
A greeting message when the user starts the conversation
ID of the channel this inbox belongs to
The flag which shows whether working hours feature is enabled
The flag to enable collecting email from contacts
The flag to enable CSAT survey
Configuration settings for auto assignment
Message to show when agents are out of office
Configuration for working hours of the inbox
Timezone configuration for the inbox
Webhook URL for callbacks
Whether to allow messages after a conversation is resolved
Whether to lock a contact to a single conversation
Type of sender name to display (e.g., friendly)
Business name associated with the inbox
Liquid HTML layout for branded email replies. Available to administrators for Email inbox show/update responses.
Whether HMAC verification is mandatory
Selected feature flags for the inbox
Expected reply time
Messaging service SID for SMS providers
Phone number associated with the inbox
Medium of communication (e.g., sms, email)
Provider of the channel