curl --request POST \
--url https://chat.omnivibe.com.br/platform/api/v1/accounts/{account_id}/account_users \
--header 'Content-Type: application/json' \
--header 'api_access_token: <api-key>' \
--data '
{
"user_id": 1,
"role": "administrator"
}
'{
"account_id": 123,
"user_id": 123,
"role": "<string>"
}Create an Account User
curl --request POST \
--url https://chat.omnivibe.com.br/platform/api/v1/accounts/{account_id}/account_users \
--header 'Content-Type: application/json' \
--header 'api_access_token: <api-key>' \
--data '
{
"user_id": 1,
"role": "administrator"
}
'{
"account_id": 123,
"user_id": 123,
"role": "<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.
The numeric ID of the account