POST
/
telephony
/
callCompleted
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
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Body

application/json
channelId
string
required

Unique identifier of a third party system of this call. If a channelId was provided during a previous /agentConnected api call, the transcript will be appended to the corresponding ticket

Example:

"call_123abc456"

transcript
object[]
required

Complete transcript of the call

A single entry in a conversation transcript

ticketId
integer | null

Optional ticket id of the enneo call ticket. If provided, the transcript will be attached to the given ticket id

Example:

123

duration
integer | null

Optional duration of the call in seconds. Can be used for average handling time measurements of agents

Example:

300

Response

200
application/json
Successful operation

Data format of Enneo success messages

success
boolean

Operation was successful

Example:

true