Update the routing status for calls and chats for a specific profile. Necessary to manually control which agents should be able to take calls or chats when integrating a custom telephony solution. Requires having ‘updateSpecificProfile’ permission.
curl --request PATCH \
--url https://demo.enneo.ai/api/mind/profile/{id}/routingStatus \
--header 'Content-Type: application/json' \
--data '{
"callRoutingStatus": "idle",
"chatRoutingStatus": "idle"
}'
{
"success": true
}
Cookie-based authentication
The id of the profile to update routing status for
Successful operation
Data format of Enneo success messages
curl --request PATCH \
--url https://demo.enneo.ai/api/mind/profile/{id}/routingStatus \
--header 'Content-Type: application/json' \
--data '{
"callRoutingStatus": "idle",
"chatRoutingStatus": "idle"
}'
{
"success": true
}