Zum Hauptinhalt springen
POST
/
telephony
/
agentConnected
Connect agent to call
curl --request POST \
  --url https://demo.enneo.ai/api/mind/telephony/agentConnected \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": 42,
  "ticketId": 123,
  "channelId": "call_123abc456"
}
'
{
  "success": true
}

Autorisierungen

Authorization
string
header
erforderlich

JWT-based authentication

Body

application/json
userId
integer
erforderlich

Id of agent that accepted the call. If that agent has a browser window of enneo open, he will be prompted with this call

Beispiel:

42

ticketId
integer | null

Optional ticket id of the enneo call ticket. Either ticketId or channelId must be provided

Beispiel:

123

channelId
string | null

Optional unique identifier of a third party system of this call. Must have been previously created with the /telephony/callReceived endpoint. Either ticketId or channelId must be provided

Beispiel:

"call_123abc456"

Antwort

Successful operation

Data format of Enneo success messages

success
boolean

Operation was successful

Beispiel:

true