{"id":30333,"date":"2021-08-24T10:18:09","date_gmt":"2021-08-24T09:18:09","guid":{"rendered":"https:\/\/multisite.korebots.com\/v9-0\/uncategorised-ja\/mobile-sdk-push-notification\/"},"modified":"2021-08-24T10:18:34","modified_gmt":"2021-08-24T09:18:34","slug":"mobile-sdk-push-notification","status":"publish","type":"post","link":"https:\/\/multisite.korebots.com\/v9-0\/uncategorised-ja\/mobile-sdk-push-notification\/","title":{"rendered":"\u30e2\u30d0\u30a4\u30eb SDK \u30d7\u30c3\u30b7\u30e5\u901a\u77e5"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p>Kore.ai \u306f\u3001\u30e2\u30d0\u30a4\u30eb SDK \u30c1\u30e3\u30cd\u30eb\u3092\u4ecb\u3057\u305f\u30e2\u30d0\u30a4\u30eb \u30c7\u30d0\u30a4\u30b9\u3078\u306e\u30d7\u30c3\u30b7\u30e5\u901a\u77e5\u306e\u9001\u4fe1\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002Kore \u30e2\u30d0\u30a4\u30eb SDK \u306f\u3001\u30cd\u30a4\u30c6\u30a3\u30d6 \u30db\u30b9\u30c8\u306e\u30e2\u30d0\u30a4\u30eb \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u7d44\u307f\u8fbc\u307e\u308c\u3001APNS \u3068 GCM \u30d7\u30ed\u30d0\u30a4\u30c0\u306b\u3088\u308b\u30d7\u30c3\u30b7\u30e5\u901a\u77e5\u306e\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u3092\u7ba1\u7406\u3059\u308b\u5f79\u5272\u3092\u62c5\u3044\u307e\u3059\u3002\u30db\u30b9\u30c8 \u30e2\u30d0\u30a4\u30eb \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 \u30b5\u30fc\u30d0\u30fc\u306f\u3001Kore.ai \u304b\u3089\u306e\u66f4\u65b0\u3092\u53d7\u3051\u53d6\u308b\u305f\u3081\u306b\u3001Webhook \u3092\u30db\u30b9\u30c8\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u66f4\u65b0\u306f\u3001\u30d7\u30c3\u30b7\u30e5\u901a\u77e5\u3068\u3057\u3066\u30c7\u30d0\u30a4\u30b9\u306b\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h3><span class=\"ez-toc-section\" id=\"%E3%83%97%E3%83%83%E3%82%B7%E3%83%A5%E9%80%9A%E7%9F%A5%E3%81%AE%E7%99%BB%E9%8C%B2\"><\/span>\u30d7\u30c3\u30b7\u30e5\u901a\u77e5\u306e\u767b\u9332<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>\u300cAPP \u306e\u4f5c\u6210\u300d\u753b\u9762\u3067\u3001[<strong>\u6709\u52b9<\/strong>] \u306e\u30c1\u30a7\u30c3\u30af \u30dc\u30c3\u30af\u30b9\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<li>\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306e\u4e0b\u306e\u30dc\u30c3\u30af\u30b9\u306b\u306f\u3001\u30d7\u30c3\u30b7\u30e5\u901a\u77e5\u3092\u9001\u4fe1\u3059\u308b URL \u3092\u5165\u529b\u3057\u307e\u3059\u3002 <a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/22\/DIYChannelCreateAppDialog-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13549\" src=\"\/wp-content\/uploads\/sites\/22\/DIYChannelCreateAppDialog-1.png\" alt=\"\" width=\"533\" height=\"587\" \/><\/a><\/li>\n<\/ol>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h3><span class=\"ez-toc-section\" id=\"%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC_%E3%83%87%E3%83%90%E3%82%A4%E3%82%B9%E7%99%BB%E9%8C%B2\"><\/span>\u30e6\u30fc\u30b6\u30fc \u30c7\u30d0\u30a4\u30b9\u767b\u9332<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u901a\u77e5\u3092\u53d7\u3051\u53d6\u308b\u3053\u3068\u3092\u9078\u629e\u3057\u305f\u5404\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3066\u3001\u30e2\u30d0\u30a4\u30eb \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u30c7\u30d0\u30a4\u30b9\u3068\u30e6\u30fc\u30b6\u30fc\u306e\u8a73\u7d30\u3092 Kore.ai \u306b\u9001\u4fe1\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002Kore.ai \u306f\u3001Webhook \u547c\u3073\u51fa\u3057\u3092\u884c\u3046\u969b\u306b\u3001\u30c7\u30d0\u30a4\u30b9\u306e\u8a73\u7d30\u3068\u30e6\u30fc\u30b6\u30fc ID \u3092\u9001\u4fe1\u3057\u307e\u3059\u3002<\/p>\n<h4>\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3 API<\/h4>\n<ul>\n<li><strong>\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8<\/strong><br \/>\n<table>\n<tbody>\n<tr>\n<td><b>POST<\/b><\/td>\n<td>https:\/\/bots.kore.ai\/api\/users\/:userId\/sdknotifications\/subscribe<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li><strong>\u8a8d\u8a3c\u30d8\u30c3\u30c0\u30fc<\/strong> <code>authorization: &ldquo;bearer xxxxxxxxxxxxxxx&rdquo;<\/code><\/li>\n<li><strong>\u30da\u30a4\u30ed\u30fc\u30c9<\/strong>\n<pre class=\"\">{deviceId : , (required) osType : ios \/ android (required) }<\/pre>\n<\/li>\n<li><strong>\u30b5\u30f3\u30d7\u30eb \u30ea\u30af\u30a8\u30b9\u30c8<\/strong>\n<pre class=\"\">curl -X POST \\ https:\/\/bots.kore.ai\/api\/users\/u-46b5fdXXXXXXXXX-4b85347a38ea\/sdknotifications\/subscribe \\ -H &apos;authorization: bearer jmABumfQUt8AaMXXXXXXXXXXXXXXXXXz0hsvVI&apos; \\ -H &apos;content-type: application\/json&apos; \\ -d &apos; { &quot;deviceId&quot; : &quot;device123&quot;, &quot;osType&quot; : &quot;ios&quot; }&apos;<\/pre>\n<\/li>\n<\/ul>\n<h4>\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u89e3\u9664 API<\/h4>\n<ul>\n<li><strong>\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8<\/strong><br \/>\n<table>\n<tbody>\n<tr>\n<td><b>\u524a\u9664<\/b><\/td>\n<td>https:\/\/bots.kore.ai\/api\/users\/:userId\/sdknotifications\/unsubscribe<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li><strong>\u8a8d\u8a3c\u30d8\u30c3\u30c0\u30fc<\/strong> <code>authorization: &ldquo;bearer xxxxxxxxxxxxxxx&rdquo;<\/code><\/li>\n<li><strong>\u30da\u30a4\u30ed\u30fc\u30c9<\/strong>\n<pre>{deviceId : , (required) osType : ios \/ android (required) }<\/pre>\n<\/li>\n<li><strong>\u30b5\u30f3\u30d7\u30eb \u30ea\u30af\u30a8\u30b9\u30c8<\/strong>\n<pre class=\"\">curl -X DELETE \\ https:\/\/bots.kore.ai\/api\/users\/u-46b5fdXXXXXXXXX-4b85347a38ea\/sdknotifications\/unsubscribe \\ -H &apos;authorization: bearer jmABumfQUt8AaMXXXXXXXXXXXXXXXXXz0hsvVI&apos; \\ -H &apos;content-type: application\/json&apos; \\ -d &apos; { &quot;deviceId&quot; : &quot;device123&quot;, &quot;osType&quot; : &quot;ios&quot; }&apos;<\/pre>\n<\/li>\n<\/ul>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Kore.ai \u306f\u3001\u30e2\u30d0\u30a4\u30eb SDK \u30c1\u30e3\u30cd\u30eb\u3092\u4ecb\u3057\u305f\u30e2\u30d0\u30a4\u30eb \u30c7\u30d0\u30a4\u30b9\u3078\u306e\u30d7\u30c3\u30b7\u30e5\u901a\u77e5\u306e\u9001\u4fe1\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002Kore \u30e2\u30d0\u30a4\u30eb SDK \u306f\u3001\u30cd\u30a4\u30c6\u30a3\u30d6 \u30db\u30b9\u30c8\u306e\u30e2\u30d0\u30a4\u30eb \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u7d44\u307f\u8fbc\u307e\u308c\u3001APNS \u3068 GCM \u30d7\u30ed\u30d0\u30a4\u30c0\u306b\u3088\u308b\u30d7\u30c3\u30b7\u30e5\u901a\u77e5\u306e\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u3092\u7ba1\u7406\u3059\u308b\u5f79\u5272\u3092\u62c5\u3044\u307e\u3059\u3002\u30db\u30b9\u30c8 \u30e2\u30d0\u30a4\u30eb \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 \u30b5\u30fc\u30d0\u30fc\u306f\u3001Kore.ai \u304b\u3089\u306e\u66f4\u65b0\u3092\u53d7\u3051\u53d6\u308b\u305f\u3081\u306b\u3001Webhook \u3092\u30db\u30b9\u30c8\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u66f4\u65b0\u306f\u3001\u30d7\u30c3\u30b7\u30e5\u901a\u77e5\u3068\u3057\u3066\u30c7\u30d0\u30a4\u30b9\u306b\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002 \u30d7\u30c3\u30b7\u30e5\u901a\u77e5\u306e\u767b\u9332 \u300cAPP \u306e\u4f5c\u6210\u300d\u753b\u9762\u3067\u3001[\u6709\u52b9] \u306e\u30c1\u30a7\u30c3\u30af \u30dc\u30c3\u30af\u30b9\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002 \u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306e\u4e0b\u306e\u30dc\u30c3\u30af\u30b9\u306b\u306f\u3001\u30d7\u30c3\u30b7\u30e5\u901a\u77e5\u3092\u9001\u4fe1\u3059\u308b URL \u3092\u5165\u529b\u3057\u307e\u3059\u3002 \u30e6\u30fc\u30b6\u30fc \u30c7\u30d0\u30a4\u30b9\u767b\u9332 \u901a\u77e5\u3092\u53d7\u3051\u53d6\u308b\u3053\u3068\u3092\u9078\u629e\u3057\u305f\u5404\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3066\u3001\u30e2\u30d0\u30a4\u30eb \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u30c7\u30d0\u30a4\u30b9\u3068\u30e6\u30fc\u30b6\u30fc\u306e\u8a73\u7d30\u3092 Kore.ai \u306b\u9001\u4fe1\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002Kore.ai \u306f\u3001Webhook \u547c\u3073\u51fa\u3057\u3092\u884c\u3046\u969b\u306b\u3001\u30c7\u30d0\u30a4\u30b9\u306e\u8a73\u7d30\u3068\u30e6\u30fc\u30b6\u30fc ID \u3092\u9001\u4fe1\u3057\u307e\u3059\u3002 \u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3 API \u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8 POST https:\/\/bots.kore.ai\/api\/users\/:userId\/sdknotifications\/subscribe \u8a8d\u8a3c\u30d8\u30c3\u30c0\u30fc authorization: &ldquo;bearer xxxxxxxxxxxxxxx&rdquo; \u30da\u30a4\u30ed\u30fc\u30c9 {deviceId : , (required) osType : ios \/ android...","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/30333"}],"collection":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/comments?post=30333"}],"version-history":[{"count":1,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/30333\/revisions"}],"predecessor-version":[{"id":30336,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/30333\/revisions\/30336"}],"wp:attachment":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/media?parent=30333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/categories?post=30333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/tags?post=30333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}