You are on page 1of 7

Follow Below Steps:

Step 1 : Install Postman


https://www.getpostman.com/apps

Steps 2 : Register Postman app with your username and Password ( Optional )

Step 3 : Select Post For PUSHING NOTIFICATION


Step 4 : End Points: US : https://api.amazonalexa.com/v2/notifications/
DE/UK : https://api.eu.amazonalexa.com/v2/notifications/
Copy and Paste the Appropriate Endpoint in “Enter request URL”
Step 5 : Click on Headers, then click New key
Enter the following (the form will auto-complete)
Key: Content-Type
Value: application/json
In the second row, click on New Key and enter the following. The Key value will auto-complete, the Value will
not.
Key: Authorization
Value: Bearer <token>

Note: The token is generated the https://tokeninator.integ.amazon.com/#/ . Be sure there is no


trailing space.
Step 6 : Click on Body, then enable the 'raw' radio button. the string 'JSON (application/json)' should
appear.
In the large text box, paste the contents of your notification. This is the same contents as the
createNotification.json file used with the alexa-notify script.
Be sure to update the relevant fields–expiry time, language/locale, etc. (Check Attachment
for Script- RawBody.doc)
Step 7 : Click the blue Send button
If successful: a notification will be sent. Additionally, the text box at the bottom will have the
following output:

{ "id": "db561cd9-1eca-4d12-a0e3-8f110255c907",
"_links": {
"dismiss": {
"href": "/v2/notifications/db561cd9-1eca-4d12-a0e3-8f110255c907/dismiss"
},
"delete": {
"href": "/v2/notifications/db561cd9-1eca-4d12-a0e3-8f110255c907"
},
"update": {
"href": "/v2/notifications/db561cd9-1eca-4d12-a0e3-8f110255c907"
}
}
}
DELETE NOTIFICATION (GUI)

Select DELETE in postman and Copy the above(Step 7) Green highlight Id and paste next to post
man URL

TO ARCHIVE NOTIFICATIONS:
Select DELETE in postman and Copy the above (Step 7) Blue Highlighter Id and paste next to post
man URL
RETRIEVE A PENDING/ARCHIVED NOTIFICATION (GUI)

The text box will now display the contents of all pending/archived notifications respectively.

TO UPDATE A NOTIFICATION

Select PUT in postman and Copy paste (Step 7) Green Highlighter ID next to URL

Click Send.
The test box at the bottom should now be update. The indicator light should remain flashing. There
will be a new earcon.
Note: Only pending notifications can be updated.

You might also like