Skip to content

Instantly share code, notes, and snippets.

@satr
Created June 10, 2019 12:49
Show Gist options
  • Save satr/be39c8e1e8daea05806416459244e90b to your computer and use it in GitHub Desktop.
Save satr/be39c8e1e8daea05806416459244e90b to your computer and use it in GitHub Desktop.
Subscribe to proactive events request the CustomProactiveSubscriptionChangedRequestHandler.java
{
"request": {
"timestamp": "2019-06-10T12:00:15Z",
"requestId": "ef896d90-bff1-494b-bda5-aa49952e9687",
"body": {
"subscriptions": [
{
"eventName": "AMAZON.OrderStatus.Updated"
},
{
"eventName": "AMAZON.MediaContent.Available"
}
]
},
"type": "AlexaSkillEvent.ProactiveSubscriptionChanged"
},
"version": "1.0",
"context": {
"System": {
"apiEndpoint": "https://api.amazonalexa.com",
"user": {
"userId": "amzn1.ask.account.AFJ..."
},
"application": {
"applicationId": "amzn1.ask.skill.e2a..."
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment