Hi, I'm developing a custom skill with external endpoint. This one is a php rest, but I'm returning json_encoded for my intents and seems like works nicely.
I have other intents that are working right now, but AMAZON.YesIntent, AMAZON.NoIntent and AMAZON.HelpIntent are giving to me an INVALID_RESPONSE error.
I'm sending this array:
$arrResponse = [ "version" => "1.0", "response" => [ "outputSpeech" => [ "type" => "PlainText", "text" => $strText ], "shouldEndSession" => $booShouldEndSession ] ];
Where $booShouldEndSession is a boolean (true, or false, both give the error) and $strText is a string.
I'm just looking for how exaclty is the format (in JSON) to response these built in intents, because with my custom intents it's work with the code above.