{"id":41248,"date":"2022-04-21T08:03:14","date_gmt":"2022-04-21T07:03:14","guid":{"rendered":"https:\/\/developer.kore.ai\/v9-3\/?p=41248"},"modified":"2022-04-21T08:03:37","modified_gmt":"2022-04-21T07:03:37","slug":"install-sample-bot-api","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v9-3\/docs\/bots\/api-guide\/install-sample-bot-api\/?lang=ko","title":{"rendered":"\uc0d8\ud50c \ubd07 \uc124\uce58 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>\uc0d8\ud50c \ubd07\uc744 \uc124\uce58\ud569\ub2c8\ub2e4.<\/p>\n<p class=\"note\">\uc774 API\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 <em>\ubd07 \uc815\uc758<\/em> \uc544\ub798\uc5d0 \uc788\ub294 <em>\ubd07 \uc0dd\uc131<\/em>\uc758 \uad00\ub9ac\uc790 \uc571 \ubc94\uc704\uac00 \ud544\uc694\ud569\ub2c8\ub2e4.<\/p>\n<p><b>POST <\/b><code>https:\/\/{{host}}\/api\/public\/samplebots\/{{botId}}\/add<\/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\">\uacbd\ub85c \ub9e4\uac1c \ubcc0\uc218<\/span><\/h3>\n<table>\n<tbody>\n<tr>\n<th><b>\ub9e4\uac1c \ubcc0\uc218<\/b><\/th>\n<th><b>\ud544\uc218\/\uc120\ud0dd \uc0ac\ud56d<\/b><\/th>\n<th><b>\uc124\uba85<\/b><\/th>\n<\/tr>\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<tr>\n<td>BotID<\/td>\n<td>\ud544\uc218<\/td>\n<td>\ubd07 ID \ub610\ub294 \uc2a4\ud2b8\ub9bc ID. \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<\/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\">\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:<\/p>\n<p><code>auth: {{JWT}}<br \/>\nAccountId: {{accountId}}<br \/>\nuserId: {{userId}}<br \/>\nbot-language : en<\/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-3\">\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-4\">\uc0d8\ud50c \uc694\uccad<\/span><\/h3>\n<pre>curl -X POST \\\r\n  'https:\/\/{{host}}\/api\/public\/samplebots\/{{bot_id}}\/add' \\\r\n  -H 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \\\r\n  -H 'content-type: application\/json' \\\r\n  -H 'AccountId: xexxbaxxxbxbxxxxxxxxcxfb' \\\r\n  -H 'userId: u-fbxxfxxx-axfd-xfcx-abxx-xcxxxxaxexxx' \\\r\n  -H 'bot-language: en \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-5\">\uc0d8\ud50c \uc751\ub2f5<\/span><\/h3>\n<pre>{\r\n    \"visibility\": {\r\n        \"namespace\": \"private\",\r\n        \"namespaceIds\": [\r\n            \"u-fb90f166-a5fd-5fc8-ab44-6c5388a1e660\"\r\n        ]\r\n    },\r\n    \"languages\": [],\r\n    \"screenShots\": [],\r\n    \"downloadCount\": 0,\r\n    \"alerts\": [\r\n        \"l-be9b69b5-dbae-55f1-8499-c0b3db74602c\"\r\n    ],\r\n    \"actions\": [],\r\n    \"dialogs\": [\r\n        \"dg-cbf01287-c284-5fb9-8686-b21c0b54cba6\",\r\n        \"dg-353f3abc-b307-58c2-b0aa-0b1e02635017\"\r\n    ],\r\n    \"widgets\": [],\r\n    \"panels\": [],\r\n    \"forms\": [],\r\n    \"categoryIds\": [\r\n        \"451902a073c071463e2ce7c6\"\r\n    ],\r\n    \"class\": [],\r\n    \"featured\": false,\r\n    \"profileRequired\": true,\r\n    \"sendVcf\": false,\r\n    \"isNLEnabled\": true,\r\n    \"interruptsEnabled\": true,\r\n    \"state\": \"setup\",\r\n    \"defaultLanguage\": \"en\",\r\n    \"_id\": \"st-cf8323be-e50e-5dd3-8870-2c8482e4bc2e\",\r\n    \"modifiedOn\": \"2021-01-12T10:55:11.551Z\",\r\n    \"sBannerColor\": \"#E44929\",\r\n    \"bBannerColor\": \"#E44929\",\r\n    \"createdOn\": \"2021-01-12T10:55:11.115Z\",\r\n    \"createdBy\": \"u-fb90f166-a5fd-5fc8-ab44-6c5388a1e660\",\r\n    \"lastModifiedBy\": \"u-fb90f166-a5fd-5fc8-ab44-6c5388a1e660\",\r\n    \"accountId\": \"5e81ba854b3b29780134c7fb\",\r\n    \"sharedBy\": [],\r\n    \"__v\": 0,\r\n    \"name\": \"Asana Sample_botowner@koreai.in_34\",\r\n    \"keywords\": [],\r\n    \"originalName\": \"Asana Sample\",\r\n    \"icon\": \"58f49848a8429af87912c7f1\",\r\n    \"color\": \"#E44929\"\r\n}\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":"\uc0d8\ud50c \ubd07\uc744 \uc124\uce58\ud569\ub2c8\ub2e4. \uc774 API\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 \ubd07 \uc815\uc758 \uc544\ub798\uc5d0 \uc788\ub294 \ubd07 \uc0dd\uc131\uc758 \uad00\ub9ac\uc790 \uc571 \ubc94\uc704\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. POST https:\/\/{{host}}\/api\/public\/samplebots\/{{botId}}\/add \uacbd\ub85c \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) BotID \ud544\uc218 \ubd07 ID \ub610\ub294 \uc2a4\ud2b8\ub9bc ID. \ubd07\uc758 \uc77c\ubc18 \uc124\uc815 \ud398\uc774\uc9c0\uc5d0\uc11c \uc774\ub97c \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uad8c\ud55c \ubd80\uc5ec \ub2e4\uc74c \uad6c\ubb38\uc744 \ud3ec\ud568\ud55c \ud5e4\ub354\uc5d0 JWT\ub97c \ud3ec\ud568\ud55c API\ub97c...","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-41248","post","type-post","status-publish","format-standard","hentry","category-api-guide"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/posts\/41248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/comments?post=41248"}],"version-history":[{"count":1,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/posts\/41248\/revisions"}],"predecessor-version":[{"id":41249,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/posts\/41248\/revisions\/41249"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/media?parent=41248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/categories?post=41248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/tags?post=41248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}