{"_id":"55bbeedfba60dd0d00a6300f","user":"542954f6cd35120800fceca0","version":{"_id":"55b9611eb42b610d00c9b28d","__v":4,"project":"54295508cd35120800fceca2","createdAt":"2015-07-29T23:26:22.532Z","releaseDate":"2015-07-29T23:26:22.532Z","categories":["55b9611fb42b610d00c9b28e","55b9611fb42b610d00c9b28f","55b9611fb42b610d00c9b290","55b9611fb42b610d00c9b291","55b9611fb42b610d00c9b292","55b9611fb42b610d00c9b293","55bc25ee76754617002aa893","56ae7f53be2c040d00d5a09b","56ae7f7b0c1cab0d009f65d1"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2.0"},"__v":15,"project":"54295508cd35120800fceca2","category":{"_id":"55bc25ee76754617002aa893","pages":["55bc2617e554822b00f3127a","55bc2620e554822b00f3127c","55bc2b3676754617002aa89b"],"__v":3,"project":"54295508cd35120800fceca2","version":"55b9611eb42b610d00c9b28d","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-08-01T01:50:38.022Z","from_sync":false,"order":7,"slug":"actionable-notifications","title":"Actionable Notifications"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-07-31T21:55:43.786Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"Our mission is to build the most efficient way of communication.  \nHere at Yo, a key component in everything we do is ***removing friction***.  \n\nWhen people get notifications, they usually want to do something about the information they just received. In version 2.0 of our API we introduce a way for developers to provide an easy and frictionless way to present two options (buttons) on the notification, that allows users to perform that action, straight from the lock screen.\n\nOur API is open and developers can, for the first time, control which buttons are shown to recipients and implement what each of these buttons actually do.\n\nThe buttons can either let the developer know what the user tapped (via a callback), or open a link/app on the user's phone.\n\nExample Open Source Water Tracker: https://github.com/YoApp/yo-water-tracker\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/EdRIdhc5TzSkeAmcW2BV_Untitled.png\",\n        \"Untitled.png\",\n        \"320\",\n        \"284\",\n        \"#18344d\",\n        \"\"\n      ],\n      \"caption\": \"Let's save some taps, shall we?\"\n    }\n  ]\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/V8Yv9EyZRUiWLmBRy20K_Untitled%202.png\",\n        \"Untitled 2.png\",\n        \"320\",\n        \"284\",\n        \"#17344d\",\n        \"\"\n      ],\n      \"caption\": \"Use commerce API\"\n    }\n  ]\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/pvnqrEztTH6sCZkfHGro_Untitled%203.png\",\n        \"Untitled 3.png\",\n        \"320\",\n        \"282\",\n        \"#18344d\",\n        \"\"\n      ],\n      \"caption\": \"Common replies can be pre-defined\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"actionable-notifications","type":"basic","title":"Interactive Notifications"}

Interactive Notifications


Our mission is to build the most efficient way of communication. Here at Yo, a key component in everything we do is ***removing friction***. When people get notifications, they usually want to do something about the information they just received. In version 2.0 of our API we introduce a way for developers to provide an easy and frictionless way to present two options (buttons) on the notification, that allows users to perform that action, straight from the lock screen. Our API is open and developers can, for the first time, control which buttons are shown to recipients and implement what each of these buttons actually do. The buttons can either let the developer know what the user tapped (via a callback), or open a link/app on the user's phone. Example Open Source Water Tracker: https://github.com/YoApp/yo-water-tracker [block:image] { "images": [ { "image": [ "https://files.readme.io/EdRIdhc5TzSkeAmcW2BV_Untitled.png", "Untitled.png", "320", "284", "#18344d", "" ], "caption": "Let's save some taps, shall we?" } ] } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/V8Yv9EyZRUiWLmBRy20K_Untitled%202.png", "Untitled 2.png", "320", "284", "#17344d", "" ], "caption": "Use commerce API" } ] } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/pvnqrEztTH6sCZkfHGro_Untitled%203.png", "Untitled 3.png", "320", "282", "#18344d", "" ], "caption": "Common replies can be pre-defined" } ] } [/block]