POST
/
telephony
/
callReceived
curl --request POST \
  --url https://demo.enneo.ai/api/mind/telephony/callReceived \
  --header 'Content-Type: application/json' \
  --data '{
  "routing": "none",
  "contractId": 123456,
  "customerId": 789012,
  "phone": "+491234567890",
  "transcript": [
    {
      "speaker": "bot",
      "message": "Hello, my name is AI Assistant. How can I help you today?",
      "timestamp": "2024-01-23T14:32:11Z"
    }
  ],
  "userId": 42,
  "channelId": "call_123abc456",
  "callerName": "John Smith",
  "direction": "in",
  "subchannelId": 5,
  "externalTicketId": "ext-123",
  "status": "open",
  "triggerAiProcessing": true
}'
{
  "success": true,
  "ticketId": 2142,
  "contractId": null,
  "customerId": null,
  "ioResponse": "None, as routing is not external",
  "queueId": 123
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Body

application/json

Response

200
application/json
Successful operation

The response is of type object.