{"id":41218,"date":"2022-04-21T06:53:12","date_gmt":"2022-04-21T05:53:12","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=41218"},"modified":"2022-04-21T06:53:31","modified_gmt":"2022-04-21T05:53:31","slug":"channel-enablement-api","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/api-guide\/channel-enablement-api\/?lang=ko","title":{"rendered":"\ucc44\ub110 \ud65c\uc131\ud654 API"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>\ubd07\uc5d0 \ub300\ud55c \ucc44\ub110 \ud65c\uc131\ud654\ub97c \uc2dc\uc791\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4.<\/p>\n<p class=\"note\">\uc774 API\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 \uc571\uc740 <em>ChannelManagement<\/em> \uc544\ub798\uc758 <em>\ucc44\ub110 \uad00\ub9ac<\/em>\uc758 \uad00\ub9ac\uc790 API \ubc94\uc704\uac00 \ud544\uc694\ud569\ub2c8\ub2e4.<\/p>\n<p><strong>POST<\/strong> <code>https:\/\/{{host}}\/api\/public\/bot\/channels<\/code><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i\">\ucffc\ub9ac \ub9e4\uac1c \ubcc0\uc218<\/span><\/h3>\n<table>\n<thead>\n<tr>\n<th>\ub9e4\uac1c \ubcc0\uc218<\/th>\n<th>\ud544\uc218\/\uc120\ud0dd \uc0ac\ud56d<\/th>\n<th>\uc124\uba85<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>host<\/td>\n<td>\ud544\uc218<\/td>\n<td>\ud658\uacbd URL(\uc608: https:\/\/bots.kore.ai)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-2\">\ubcf8\ubb38 \ub9e4\uac1c \ubcc0\uc218<\/span><\/h3>\n<table>\n<thead>\n<tr>\n<th>\ub9e4\uac1c \ubcc0\uc218<\/th>\n<th>\ud544\uc218\/\uc120\ud0dd \uc0ac\ud56d<\/th>\n<th>\uc124\uba85<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>BotId<\/td>\n<td>\ud544\uc218<\/td>\n<td>\ubd07\uc758 \uc77c\ubc18 \uc124\uc815 \ud398\uc774\uc9c0\uc5d0\uc11c \uc774\ub97c \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/td>\n<\/tr>\n<tr>\n<td>AppName<\/td>\n<td>\ud544\uc218<\/td>\n<td>\uc774 \ubd07\uacfc \uc5f0\uacb0\ub41c \uc571\uc740 \ubd07\uc758 \uc571 \uad00\ub9ac \ud398\uc774\uc9c0\uc5d0\uc11c \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>ClientId<\/td>\n<td>\ud544\uc218<\/td>\n<td>\uc774 \ubd07\uacfc \uc5f0\uacb0\ub41c \uc571\uc758 \ud074\ub77c\uc774\uc5b8\ud2b8 ID\ub85c, \ubd07\uc758 \uc571 \uad00\ub9ac \ud398\uc774\uc9c0\uc5d0\uc11c \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>type<\/td>\n<td>\ud544\uc218<\/td>\n<td>\n<p>\uc774 \ubd07\uc5d0 \ub300\ud574 \ud65c\uc131\ud654\ud560 \ucc44\ub110\uc785\ub2c8\ub2e4. \ucc44\ub110 \uc720\ud615 \uc138\ubd80 \uc815\ubcf4\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<ul>\n<li>rtm &#8211; \uc6f9\/\ubaa8\ubc14\uc77c\uc6a9 SDK<\/li>\n<li>slack &#8211; Slack\uc6a9<\/li>\n<li>Webhook &#8211; Webhook\uc6a9<\/li>\n<li>Msteams &#8211; MS \ud300\uc6a9<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-3\">\uad8c\ud55c \ubd80\uc5ec<\/span><\/h3>\n<p>\ub2e4\uc74c \uad6c\ubb38\uc744 \ud3ec\ud568\ud55c \ud5e4\ub354\uc5d0 JWT\ub97c \ud3ec\ud568\ud55c API\ub97c \ud638\ucd9c\ud569\ub2c8\ub2e4. <code>auth: {{JWT}}<\/code><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-4\">\ucf58\ud150\uce20 \uc720\ud615 \uc751\ub2f5<\/span><\/h3>\n<p><code>application\/json<\/code><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-5\">\uc0d8\ud50c \uc694\uccad<\/span><\/h3>\n<pre>curl --location --request POST 'https:\/\/{{host}}\/api\/public\/channels' \\\r\n--header 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \\\r\n--header 'Content-Type: application\/json' \\\r\n--data-raw '{\r\n    \"botId\":\"{{bot Id}}\",\r\n    \"channelDetails\":{\r\n        \t\"app\": {\r\n          \t\"appName\": \"App Name\",\r\n          \t\"clientId\": \"cs-fxxxfxd-bxee-xaxx-bxaf-dxxxxe2c26e3\"\r\n        \t},\r\n        \t\"createInstance\": false,\r\n        \t\"displayName\": \"Web \/ Mobile Client\",\r\n        \t\"enable\": true,\r\n        \t\"isAsync\": false,\r\n        \t\"type\": \"rtm\"\r\n    \t},\r\n\t\"type\":\"rtm\"\r\n}'<\/pre>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-6\">\uc0d8\ud50c \uc751\ub2f5<\/span><\/h3>\n<p>\ud50c\ub7ab\ud3fc\uc758 \uc751\ub2f5\uc740 \ud65c\uc131\ud654 \uc911\uc778 \ucc44\ub110\uc5d0 \ub530\ub77c \ub2e4\ub985\ub2c8\ub2e4. <strong>\uc6f9\/\ubaa8\ubc14\uc77c SDK<\/strong>\uc5d0 \ub300\ud55c \uc0d8\ud50c \uc751\ub2f5\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<pre>{\r\n\t\"displayName\": \"Web \/ Mobile Client\",\r\n\t\"type\": \"rtm\",\r\n\t\"name\": \"Web \/ Mobile Client\",\r\n\t\"isAlertsEnabled\": false,\r\n\t\"enable\": true,\r\n\t\"sttEnabled\": false,\r\n\t\"sttEngine\": \"kore\"\r\n}\r\n<\/pre>\n<p><strong>Webhook \ucc44\ub110<\/strong>\uc5d0 \ub300\ud55c \uc0d8\ud50c \uc751\ub2f5\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<pre>{\r\n    \"displayName\": \"webhook\",\r\n    \"enable\": true,\r\n    \"isAsync\": false,\r\n    \"type\": \"ivr\",\r\n    \"url\": \"&lt;webhook-url&gt;\"\r\n}<\/pre>\n<p><strong>Slack \ucc44\ub110<\/strong>\uc5d0 \ub300\ud55c \uc0d8\ud50c \uc751\ub2f5\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<pre>{\r\n    \"streamUserAccountId\": \"su-bxxxxfax-exba-xxeb-xxxc-xxxacxxxxxx\",\r\n    \"type\": \"slack\",\r\n    \"enable\": false,\r\n    \"verificationToken\": \"mxSxdWXcQxEFxrRPEdeoCC\"\r\n}<\/pre>\n<p><strong>msteams \ucc44\ub110<\/strong>\uc5d0 \ub300\ud55c \uc0d8\ud50c \uc751\ub2f5\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<pre>{\r\n    \"type\": \"msteams\",\r\n    \"enable\": false,\r\n    \"accountId\": \"su-bcf9xxxfc-dxxx-xxxc-xexa-bxxexxxxxxx\",\r\n    \"app_id\": \"xxebcfxf-xxxd-xxca-xxea-bxxxxxxaxxx\"\r\n}<\/pre>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<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><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"\ubd07\uc5d0 \ub300\ud55c \ucc44\ub110 \ud65c\uc131\ud654\ub97c \uc2dc\uc791\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uc774 API\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 \uc571\uc740 ChannelManagement \uc544\ub798\uc758 \ucc44\ub110 \uad00\ub9ac\uc758 \uad00\ub9ac\uc790 API \ubc94\uc704\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. POST https:\/\/{{host}}\/api\/public\/bot\/channels \ucffc\ub9ac \ub9e4\uac1c \ubcc0\uc218 \ub9e4\uac1c \ubcc0\uc218 \ud544\uc218\/\uc120\ud0dd \uc0ac\ud56d \uc124\uba85 host \ud544\uc218 \ud658\uacbd URL(\uc608: https:\/\/bots.kore.ai) \ubcf8\ubb38 \ub9e4\uac1c \ubcc0\uc218 \ub9e4\uac1c \ubcc0\uc218 \ud544\uc218\/\uc120\ud0dd \uc0ac\ud56d \uc124\uba85 BotId \ud544\uc218 \ubd07\uc758 \uc77c\ubc18 \uc124\uc815 \ud398\uc774\uc9c0\uc5d0\uc11c \uc774\ub97c \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. AppName \ud544\uc218 \uc774...","protected":false},"author":22,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-41218","post","type-post","status-publish","format-standard","hentry","category-api-guide"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=41218"}],"version-history":[{"count":1,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41218\/revisions"}],"predecessor-version":[{"id":41219,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41218\/revisions\/41219"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=41218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=41218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=41218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}