Evo Voice

<back to all web services

LiveAnswerCallback

The following routes are available for this service:
All Verbs/nodes/live-answer/callback
LiveAnswerCallback Parameters:
NameParameterData TypeRequiredDescription
SessionIdquerystringNo
FlowIdquerystringNo
NodeIdquerystringNo
ClientIdquerystringNo
ConversationIdquerystringNo
AIMinutesqueryintNo
FromquerystringNo
ToquerystringNo
TranscriptqueryList<LiveAnswerCallbackTranscriptMessage>No
StartDatequeryDateTimeNo
EndDatequeryDateTimeNo
AttachmentsqueryList<LiveAnswerCallbackAttachment>No
LiveAnswerCallbackTranscriptMessage Parameters:
NameParameterData TypeRequiredDescription
DateformDateTimeNo
RoleformstringNo
SenderNameformstringNo
TargetNameformstringNo
FunctionNameformstringNo
FunctionArgsformstringNo
ContentformstringNo
LiveAnswerCallbackAttachment Parameters:
NameParameterData TypeRequiredDescription
FileNameformstringNo
ContentTypeformstringNo
UriformstringNo
DataformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /nodes/live-answer/callback HTTP/1.1 
Host: team.evovoice.io 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"sessionId":"String","flowId":"String","nodeId":"String","clientId":"String","conversationId":"String","aiMinutes":0,"from":"String","to":"String","transcript":[{"date":"\/Date(-62135596800000-0000)\/","role":"String","senderName":"String","targetName":"String","functionName":"String","functionArgs":"String","content":"String"}],"startDate":"\/Date(-62135596800000-0000)\/","endDate":"\/Date(-62135596800000-0000)\/","attachments":[{"fileName":"String","contentType":"String","uri":"String","data":"String"}]}