All Verbs | /nodes/live-answer/callback |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SessionId | query | string | No | |
FlowId | query | string | No | |
NodeId | query | string | No | |
ClientId | query | string | No | |
ConversationId | query | string | No | |
AIMinutes | query | int | No | |
From | query | string | No | |
To | query | string | No | |
Transcript | query | List<LiveAnswerCallbackTranscriptMessage> | No | |
StartDate | query | DateTime | No | |
EndDate | query | DateTime | No | |
Attachments | query | List<LiveAnswerCallbackAttachment> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Date | form | DateTime | No | |
Role | form | string | No | |
SenderName | form | string | No | |
TargetName | form | string | No | |
FunctionName | form | string | No | |
FunctionArgs | form | string | No | |
Content | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
FileName | form | string | No | |
ContentType | form | string | No | |
Uri | form | string | No | |
Data | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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
}
]
}