ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions117

Agents → Update Agent In Account

AI-generated

Summary

Update an existing agent's details within a specified ChatWoot account by providing the account ID and agent ID along with the new role, availability, and auto offline settings.

Inputs

  • Account Id (required) — The numeric ID of the ChatWoot account containing the agent.
  • Id (required) — The numeric ID of the agent to be updated.
  • Role (required) — The role designation to assign to the agent, either 'Agent' or 'Administrator'.
  • Availability — The availability status to set for the agent; options include 'Available', 'Busy', or 'Offline'.
  • Auto Offline — Boolean flag to configure whether the agent's availability should automatically switch to offline when away.

Output shape

a single updated agent record as JSON

The operation returns the updated agent data. The response object structure matches the ChatWoot API's updated agent resource representation.

Discussion