Message responses (Flow Socket)
Learn about success and error response from the Flow AI engine.
After a message is sent, a reply is sent almost instantly from the Flow AI engine.
Success message response
The following is a reply to the message if it is successfully delivered.
{
"type": "message.delivered",
"payload": {
"traceId": 1,
"threadId": "EXAMPLE73ca74dfe9329bf68c09b61ce",
"traceId": 1111111111111,
"speech": "hi"
}
}
Error message response
The following is an error message reply when there is an error processing a message.
{
"type": "error",
"message": "Invalid message format ..."
}
Updated 3 days ago