ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions117

Inboxes → Update Inbox

AI-generated

Summary

Update an existing inbox in a ChatWoot account by specifying the account ID and inbox ID along with optional properties to modify such as name, auto assignment setting, avatar image, and channel configuration.

Inputs

  • Account Id (required) — The numeric ID of the ChatWoot account containing the inbox.
  • Id (required) — The numeric ID of the inbox to update.
  • Name — The new name for the inbox.
  • Enable Auto Assignment (required) — Whether to enable or disable auto assignment of conversations in this inbox.
  • Avatar — Image file URL or data to update the inbox avatar.
  • Channel — JSON object representing the channel configuration for the inbox, parsed from string input.

Output shape

a single JSON object representing the updated inbox resource.

The operation sends an HTTP PATCH or PUT request to update the inbox and returns the updated inbox details in JSON format. Optional fields not provided will remain unchanged. Error responses follow standard API error formats.

Examples

Example 1: Update inbox to change its name and disable auto assignment

Provide the Account Id, the Inbox Id, set 'Name' to the desired new inbox name, and set 'Enable Auto Assignment' to false. Optional 'Avatar' and 'Channel' fields can be provided if necessary.

Discussion