Called whenever the telephony system has connected a agent (user) with a call that was previously sent to enneo via the /telephony/callReceived endpoint. Upon receiept, the specified agent’s browser window is then redirected to the previously created ticket id (specified via ticket id or channel id)
curl --request POST \
--url https://demo.enneo.ai/api/mind/telephony/agentConnected \
--header 'Content-Type: application/json' \
--data '{
"ticketId": 123,
"channelId": "call_123abc456",
"userId": 42
}'
{
"success": true
}
Cookie-based authentication
Successful operation
Data format of Enneo success messages
curl --request POST \
--url https://demo.enneo.ai/api/mind/telephony/agentConnected \
--header 'Content-Type: application/json' \
--data '{
"ticketId": 123,
"channelId": "call_123abc456",
"userId": 42
}'
{
"success": true
}