Account Users

Create an Account User

Changed on

Create an Account User

post/platform/api/v1/accounts/{account_id}/account_users

Request

  • Base URL
    https://app.chatwoot.com
  • Auth
    • HTTP bearer
    • or API key in header api_access_token

Request body

user_idinteger required

The ID of the user

rolestring required

whether user is an administrator or agent

Example request

{
  "user_id": 1,
  "role": "administrator"
}

Response

Success

account_idinteger

The ID of the account

user_idinteger

The ID of the user

rolestring

whether user is an administrator or agent

Changes