Create an Account
cURL
curl --request POST \ --url https://app.chatwoot.com/platform/api/v1/accounts \ --header 'Content-Type: application/json' \ --header 'api_access_token: <api-key>' \ --data '{ "name": "My Account", "locale": "en", "domain": "example.com", "support_email": "support@example.com", "status": "active", "limits": {}, "custom_attributes": {} }'
{ "id": 123, "name": "<string>" }
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.
Success
The response is of type object.
object