Called when a call is completed to store the final transcript and call details
curl --request POST \
--url https://demo.enneo.ai/api/mind/telephony/callCompleted \
--header 'Content-Type: application/json' \
--data '{
"ticketId": 123,
"channelId": "call_123abc456",
"transcript": [
{
"speaker": "bot",
"message": "Hello, my name is AI Assistant. How can I help you today?",
"timestamp": "2024-01-23T14:32:11Z"
}
],
"duration": 300
}'
{
"success": true
}
Cookie-based authentication
Successful operation
Data format of Enneo success messages
curl --request POST \
--url https://demo.enneo.ai/api/mind/telephony/callCompleted \
--header 'Content-Type: application/json' \
--data '{
"ticketId": 123,
"channelId": "call_123abc456",
"transcript": [
{
"speaker": "bot",
"message": "Hello, my name is AI Assistant. How can I help you today?",
"timestamp": "2024-01-23T14:32:11Z"
}
],
"duration": 300
}'
{
"success": true
}