ticket
- POSTGet next ticket id to work on
- POSTGet a list of tickets
- POSTCreate a ticket
- PATCHUpdate a few tickets at once
- GETGet a ticket
- PATCHUpdate a ticket
- GETGet ticket variables
- GETGet a tickets history
- POSTForward a ticket
- POSTAuto-execute a ticket
- GETPing a ticket
- GETGet ticket activity
- GETGet ticket stats
- GETGet agent queue status
export
customer
intent
aiAgent
- GETList of all available AI agents as an array
- GETList of all available AI agents as an tree based on associated tag
- POSTLoad enneo default AI Agents
- POSTCreate a new aiAgent
- GETGet an AI Agent by id
- DELDelete an existing AI Agent
- PATCHUpdate an existing AI Agent
- GETGet similar tickets for an AI Agent
- POSTPreview an AI Agent
- POSTGet the outcome of an AI Agent
aiQualityCheck
- GETGet all test runs with pagination
- POSTSchedule a new AI quality check
- GETGet a specific test run by ID
- DELDelete a specific test run by ID
- PATCHUpdate the expected result of a test ticket
- PATCHAccept the expected result of a test ticket
- POSTAccept ALL the expected results of for a test run
- GETGet all AI agents for which test runs can be triggered
- GETGet all AI agents for which test runs can be triggered
- GETGet test cases by AI agent ID
- POSTAdd test cases for an AI agent
- DELDelete a test case by ID
- PATCHUpdate a test case by ID
intentTemplate
profile
team
reminder
settings
- GETGet settings of a client
- POSTUpdate multiple settings at once
- GETGet settings of a client and return the results in a compact form
- GETGet settings of a client in a grouped way for a category
- PUTUpdate setting
- GETSearch settings
- GETGet Subchannels
- POSTAdd a new Subchannel
- DELDelete a Subchannel
- GETGet User Defined Functions
- POSTAdd a new User Defined Function
- DELDelete a User Defined Function
- GETRedirect to Microsoft authorization page
- GETCallback for Microsoft authorization
tag
cron
version
knowledgeSourceStructure
knowledgeSource
telephony
cortex
telephony
Call received
telephony
Call received
Called whenever the telephony system has received a call that should be transferred to a human user in enneo. This is usually done on handover from a bot-based conversation to a human.
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
Cookie-based authentication
Body
application/json
Response
200
application/json
Successful operation
The response is of type object
.
Previous
Connect agent to callCalled 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)
Next
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
}