I am referring to the documentation of Amazon Alexa Smart Home and I have a doubt related to the JSON body they have given.
{"event": {
"header": {
"namespace": "Alexa",
"name": "ErrorResponse",
"messageId": "abc-123-def-456",
"correlationToken": "dFMb0z+PgpgdDmluhJ1LddFvSqZ/jCc8ptlAKulUj90jSqg==",
"payloadVersion": "3"
},
"endpoint":{
"endpointId":"appliance-001"
},
"payload": {
"type": "ENDPOINT_UNREACHABLE",
"message": "Unable to reach endpoint 12345 because it appears to be offline"
}}}
Is this the directive from the Alexa or is this the event I need to send in the response.
Thanks