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
Users
Create a User
Users
Create a User
Create a User
POST
/
platform
/
api
/
v1
/
users
curl --request POST \
--url https://app.chatwoot.com/platform/api/v1/users \
--header 'Content-Type: application/json' \
--header 'api_access_token: <api-key>' \
--data '{
"name": "<string>",
"email": "<string>",
"password": "<string>",
"custom_attributes": {}
}'
{
"id": 123,
"uid": "<string>",
"name": "<string>",
"available_name": "<string>",
"display_name": "<string>",
"email": "<string>",
"account_id": 123,
"role": "agent",
"confirmed": true,
"custom_attributes": {},
"accounts": [
{
"id": 123,
"name": "<string>",
"role": "administrator"
}
]
}
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.
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/users \
--header 'Content-Type: application/json' \
--header 'api_access_token: <api-key>' \
--data '{
"name": "<string>",
"email": "<string>",
"password": "<string>",
"custom_attributes": {}
}'
{
"id": 123,
"uid": "<string>",
"name": "<string>",
"available_name": "<string>",
"display_name": "<string>",
"email": "<string>",
"account_id": 123,
"role": "agent",
"confirmed": true,
"custom_attributes": {},
"accounts": [
{
"id": 123,
"name": "<string>",
"role": "administrator"
}
]
}