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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
Content-Type: text/jsv
Content-Length: length

{
	sessionId: String,
	flowId: String,
	nodeId: String,
	clientId: String,
	conversationId: String,
	aiMinutes: 0,
	from: String,
	to: String,
	transcript: 
	[
		{
			date: 0001-01-01,
			role: String,
			senderName: String,
			targetName: String,
			functionName: String,
			functionArgs: String,
			content: String
		}
	],
	startDate: 0001-01-01,
	endDate: 0001-01-01,
	attachments: 
	[
		{
			fileName: String,
			contentType: String,
			uri: String,
			data: String
		}
	]
}