Learn about success and error response from the Flow AI engine.

A reply is sent (almost) instantly. The following is replied if the message is successfully delivered.

{
  "type": "message.delivered",
  "payload": {
    "traceId": 1,
    "threadId": "EXAMPLE73ca74dfe9329bf68c09b61ce",
    "traceId": 1111111111111,
    "speech": "hi"
  }
}

If there is an error processing a message the server will reply with an error.

{
  "type": "error",
  "message": "Invalid message format ..."
}