User Notifications API

Authentication

If you want to deliver notifications to your own account, use the user_credentials attribute. If you want to deliver to other users, use the oauth applications.

Notify yourself

https://www.appnotifications.com/account/notifications.json

$ curl -d user_credentials=YOUR_CREDENTIALS \
	-d "notification[message]=my message" \
	-d "notification[long_message]=<b>Some HTML for the full layout page notification</b>" \
	-d "notification[title]=A notification title" \
	-d "notification[subtitle]=A notification subtitle" \
	-d "notification[long_message_preview]=the notif preview" \
	-d "notification[message_level]=2" \
	-d "notification[silent]=0" \
	-d "notification[action_loc_key]=Approve me" \
	https://www.appnotifications.com/account/notifications.json


--- 
"{\"id\":3548469}"

Notify a single user

https://www.appnotifications.com/account/notifications.json

Create an oauth application, and use the user tokens to deliver a notification

Broadcast notifications to all users

https://www.appnotifications.com/account/notifications/broadcast.json

Create an oauth application, using your application access token you can broadcast notifications to all your users.

Example

Available variables