PATCH
/
api
/
v1
/
accounts
/
{account_id}
/
inboxes
/
{id}
curl --request PATCH \
  --url https://app.chatwoot.com/api/v1/accounts/{account_id}/inboxes/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "enable_auto_assignment": true,
  "channel": {
    "website_url": "<string>",
    "welcome_title": "<string>",
    "welcome_tagline": "<string>",
    "agent_away_message": "<string>",
    "widget_color": "<string>"
  }
}'
{
  "id": 123,
  "name": "<string>",
  "website_url": "<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>"
}

Path Parameters

account_id
integer
required

The numeric ID of the account

id
number
required

ID of the inbox

Body

application/json

Response

200
application/json
Success

The response is of type object.