ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions117

Account Users → Create An Account User

AI-generated

Summary

Create a new user for a specified ChatWoot account by providing the account ID, user ID, and role (administrator or agent).

Inputs

  • Account Id (required) — The numeric ID of the ChatWoot account to which the user will be added.
  • User Id (required) — The ID of the user to add to the account.
  • Role (required) — The role assigned to the user within the account, such as administrator or agent.

Output shape

A single JSON object representing the response from ChatWoot's API confirming the creation of the account user.

The operation sends a request body containing user_id and role to the API endpoint specific to the given account_id. It supports optional request settings such as batching, SSL certificate ignoring, proxy configuration, and request timeout, impacting how the HTTP requests are made and handled.

Examples

Example 1: Add a user as an agent to an account

Set Account Id to 123, User Id to 456, Role to 'agent', then execute to create that user with the specified role in account 123.

Discussion