AgentBots
Inbox API
Conversations API
Contact Labels
CSAT Survey Page
Account AgentBots
Agents
Canned Responses
Canned Response
Custom Attributes
Contacts
Automation Rule
Help Center
Conversations
Conversation Assignment
Conversation Labels
Inboxes
Integrations
Profile
Teams
Custom Filters
Account Users
Create an Account User
Account Users
Create an Account User
Create an Account User
POST
/
platform
/
api
/
v1
/
accounts
/
{account_id}
/
account_users
curl --request POST \
--url https://app.chatwoot.com/platform/api/v1/accounts/{account_id}/account_users \
--header 'Content-Type: application/json' \
--header 'api_access_token: <api-key>' \
--data '{
"user_id": 123,
"role": "<string>"
}'
{
"account_id": 123,
"user_id": 123,
"role": "<string>"
}
Authorizations
This token can be obtained by the system admin after creating a platformApp. This token should be used to provision agent bots, accounts, users and their roles.
Path Parameters
The numeric ID of the account
Body
application/json
Response
200
application/json
Success
The response is of type object
.
curl --request POST \
--url https://app.chatwoot.com/platform/api/v1/accounts/{account_id}/account_users \
--header 'Content-Type: application/json' \
--header 'api_access_token: <api-key>' \
--data '{
"user_id": 123,
"role": "<string>"
}'
{
"account_id": 123,
"user_id": 123,
"role": "<string>"
}