{"id":41332,"date":"2022-04-22T07:00:26","date_gmt":"2022-04-22T06:00:26","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=41332"},"modified":"2022-04-22T07:00:47","modified_gmt":"2022-04-22T06:00:47","slug":"bots-platform-api-reference","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/sdks\/bots-platform-api-reference\/?lang=ko","title":{"rendered":"\uc6f9 \uc18c\ucf13 \uc5f0\uacb0 \ubc0f RTM"},"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>Kore.ai SDK \ub77c\uc774\ube0c\ub7ec\ub9ac\ub294 \uc6f9 \uc18c\ucf13 \ucc44\ub110\uc744 \uc0ac\uc6a9\ud558\uc5ec Kore.ai \ubd07 \ud50c\ub7ab\ud3fc\uacfc \ud1b5\uc2e0\ud569\ub2c8\ub2e4. \uc6f9 \uc18c\ucf13 \uc138\uc158\uc744 \ucd08\uae30\ud654\ud558\ub824\uba74, Kore.ai SDK\ub294 \ub2e4\uc74c \ubd07 \ud50c\ub7ab\ud3fc \uc5d4\ub4dc\ud3ec\uc778\ud2b8\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4. Kore.ai \ubd07 \ud50c\ub7ab\ud3fc SDK\ub97c \uc0ac\uc6a9\ud558\ub294 \uacbd\uc6b0, JWT \ud1a0\ud070\ub9cc \uc0dd\uc131\ud558\uace0 \ud074\ub77c\uc774\uc5b8\ud2b8 SDK\ub85c \uc804\ub2ec\ud574\uc57c \ud569\ub2c8\ub2e4.<\/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<h2><span class=\"ez-toc-section\" id=\"i\">\ucd08\uae30\ud654<\/span><\/h2>\n<p>\uc774 \uc139\uc158\uc5d0\uc11c\ub294 Kore.ai SDK\uac00 \uc6f9 \uc18c\ucf13\uc744 \ucd08\uae30\ud654\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud558\uba70 \ucc38\uc870 \uc804\uc6a9\uc785\ub2c8\ub2e4.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"i-2\">\ud544\uc218 \uad6c\uc131 \uc694\uc18c<\/span><\/h3>\n<p>\ud074\ub77c\uc774\uc5b8\ud2b8 \uc571\uc774 \ub4f1\ub85d\ub418\uc5b4 \uc788\uace0, \ud074\ub77c\uc774\uc5b8\ud2b8 ID \ubc0f \uc2dc\ud06c\ub9bf \ud0a4\uac00 Kore.ai \ubd07 \ube4c\ub354 \ub3c4\uad6c\uc5d0\uc11c \uc0dd\uc131\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"1\"><strong>1\ub2e8\uacc4<\/strong><\/span><\/h3>\n<p>JWT\uac00 \ud074\ub77c\uc774\uc5b8\ud2b8 \uc571 \uc790\uaca9 \uc99d\uba85 \ubc0f \uc0ac\uc6a9\uc790 \uc815\ubcf4\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc11c\ubc84 \uce21\uc5d0\uc11c \uc0dd\uc131\ub429\ub2c8\ub2e4. JWT\uac00 \ud074\ub77c\uc774\uc5b8\ud2b8 \uc571\uc73c\ub85c \uc804\ub2ec\ub429\ub2c8\ub2e4.<\/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=\"2\"><strong>2\ub2e8\uacc4<\/strong><\/span><\/h3>\n<p><span style=\"font-weight: 400\">\ud074\ub77c\uc774\uc5b8\ud2b8 \uc571\uc740 \ub2e4\uc74c \ubd07 \ud50c\ub7ab\ud3fc \uc5d4\ub4dc\ud3ec\uc778\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec \ubd07 \ud50c\ub7ab\ud3fc\uc5d0\uc11c JWT \ud1a0\ud070\uc744 <code>accessToken<\/code>\uc73c\ub85c \uad50\ud658\ud569\ub2c8\ub2e4.&nbsp;<\/span>\uc774 \uc139\uc158\uc5d0\uc11c\ub294 \ub2e4\uc74c JSON \uad6c\ubb38\uc744 \uae30\ubc18\uc73c\ub85c <code><span style=\"font-weight: 400\">\/api\/1.1\/<\/span><span style=\"font-weight: 400\">oAuth<\/span><span style=\"font-weight: 400\">\/token\/jwtgrant<\/span><\/code>&nbsp;\uc5d4\ub4dc\ud3ec\uc778\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub300\ud654\uc5d0\uc11c \uba54\uc2dc\uc9c0 \uac8c\uc2dc \uc694\uccad \ud615\uc2dd\uc744 \uc9c0\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4. <\/p>\n<p><code>POST<br \/>\nhttps:\/\/{{APIHost}}\/api\/1.1\/oAuth\/token\/jwtgrant<\/code><\/p>\n<pre class=\"toolbar:1 lang:default decode:true\">{\r\n    \"assertion\": \u201c{{JWT Token}}\u201d,\r\n    \"botInfo\": {\r\n        \"chatBot\": \"{{Bot Name}}\",\r\n        \"taskBotId\": \"st-f74a3430-3b19-55a3-be41-1ab1a35c4685\"\r\n    }\r\n)<\/pre>\n<h4><strong>\uc0d8\ud50c cURL<\/strong><\/h4>\n<pre>curl 'https:\/\/{{APIHost}}\/api\/1.1\/oAuth\/token\/jwtgrant' \\\r\n  -H 'content-type: application\/json' &nbsp;\\\r\n  --data-binary '{\"assertion\":\"{JWT Token}}\",\"botInfo\":{\"chatBot\":\"{{Bot Name}}\",\"taskBotId\":\"st-f74a3430-3b19-55a3-be41-1ab1a35c4685\"}}<\/pre>\n<h4>\uc751\ub2f5<\/h4>\n<p>\ub2e4\uc74c \uc0d8\ud50c JSON \uc751\ub2f5\uc740 <code>accessToken<\/code> \ubc0f \ud574\ub2f9 \ud1a0\ud070\uacfc \uad00\ub828\ub41c \uc0ac\uc6a9\uc790\ub97c \ubcf4\uc5ec\uc90d\ub2c8\ub2e4.<\/p>\n<pre class=\"lang:JSON decode:true \">{\r\n   \"authorization\": {\r\n\t\"accessToken\": \"ZdV2OL_UZ_MvHog-rs8k9KJFNWBICvquSc3jpeaRDE_-\",\r\n                 \/\/ access token to user at \/api\/rtm\r\n\t\"token_type\": \"bearer\",\r\n\t\"expiresDate\": \"2019-06-28T06:52:23.160Z\",\r\n                \/\/expiry date for access token\r\n\t\"issuedDate\": \"2019-02-28T06:52:23.160Z\" \r\n               \/\/access token issuedDate\r\n\t},\r\n   \"userInfo\": {\r\n\t\"userId\": \"u-4f6c68e0-551a-5dd9-a33a-1af3dc9cadcc\", \r\n                 \/\/ user id which is unique for the user and can be used at bot messages api\r\n\t\"accountId\": \"5c66514d09ab3565deb2e30a\", \r\n                 \/\/ account id in which the user is present\r\n\t\"orgId\": \"o-88aad7f1-0d32-5765-93d7-f40c80402114\",\r\n                \/\/ organization id of the user\r\n\t\"identity\": \"cs-5b08ed1e-5fa7-5aaa-9c21-28bf8c90b739\/admin1212@qakore.xyz\", \r\n                \/\/identity of user from the channel perspective\r\n\t\"enrollType\": \"free\", \r\n                \/\/Enrollment type (Free\/ Paid etc)\r\n\t\"managedBy\": \"5c66514d09ab3565deb2e30a\", \r\n                \/\/(The account id)\r\n\t\"fName\": \"\", \r\n                \/\/first name of the user\r\n                \/\/ (fetched if the user is registered on the platform)\r\n\t\"lName\": \"\" \r\n                \/\/last name of the user\r\n                \/\/ (fetched if the user is registered on the platform)\r\n\t}\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=\"3\"><strong>3\ub2e8\uacc4<\/strong><\/span><\/h3>\n<p>\ud074\ub77c\uc774\uc5b8\ud2b8 \uc571\uc740 \ub2e4\uc74c \uc5d4\ub4dc\ud3ec\uc778\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc6f9 \uc18c\ucf13 URL\uc744 \ud68d\ub4dd\ud569\ub2c8\ub2e4. \uc774 \uc139\uc158\uc5d0\uc11c\ub294 \ub2e4\uc74c JSON \uad6c\ubb38\uc744 \uae30\ubc18\uc73c\ub85c <code>\/api\/1.1\/rtm\/start<\/code>&nbsp;\uc5d4\ub4dc\ud3ec\uc778\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc6f9 \uc18c\ucf13 URL\uc744 \uac00\uc838\uc624\ub294 \uc694\uccad \ud615\uc2dd\uc744 \uc9c0\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4.<\/p>\n<p class=\"note\"><strong>\ucc38\uace0:<\/strong> \uc774 URL\uc740 \uc624\ub798\uac00\uc9c0 \uc54a\uace0 30\ucd08 \ud6c4\uc5d0 \ub9cc\ub8cc\ub429\ub2c8\ub2e4. \ub9cc\ub8cc\ub418\uae30 \uc804\uc5d0 \uc5f0\uacb0\uc5d0 \uc0ac\uc6a9\ub418\ub294\uc9c0 \ud655\uc778\ud574\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<p><code>POST<br \/>\nhttps:\/\/{{APIHost}}\/api\/1.1\/rtm\/start<\/code><\/p>\n<pre class=\"toolbar:1 lang:default decode:true\">{\r\n    \"botInfo\": {\r\n        \"chatBot\": \"Twitter\",\r\n        \"taskBotId\": \"st-f74a3430-3b19-55a3-be41-1ab1a35c4685\"\r\n    }\r\n}<\/pre>\n<p><code>accessToken<\/code>\uc740&nbsp;\uad8c\ud55c \ubd80\uc5ec \ud5e4\ub354\uc758 <code>bearer<\/code> \ub9e4\uac1c\ubcc0\uc218\uc5d0\uc11c \uc804\ub2ec\ub429\ub2c8\ub2e4.<\/p>\n<h4><strong>\uc0d8\ud50c cURL<\/strong><\/h4>\n<pre>curl 'https:\/\/{{APIHost}}\/api\/1.1\/rtm\/start' \\\r\n  -H 'content-type: application\/json' \\\r\n  -H 'Authorization: bearer {{accessToken}}' \\\r\n  --data-binary '{\"botInfo\":{\"chatBot\":\"{{Bot Name}}\",\"taskBotId\":\"st-f74a3430-3b19-55a3-be41-1ab1a35c4685\"}'<\/pre>\n<h4>\uc751\ub2f5<\/h4>\n<p>\ub2e4\uc74c \uc0d8\ud50c JSON \uc751\ub2f5\uc740 \uc6f9 \uc18c\ucf13 URL\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4.<\/p>\n<pre class=\"lang:default decode:true \">{&quot;url&quot;:&quot;wss:\/\/xxx.yyy.com:443\/rtm\/bot?sid=GhKrtrEC61g7hAnmvKAVnJIHG0DS1Lzv&quot;}<\/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<h2><span class=\"ez-toc-section\" id=\"RTM\"><span style=\"font-weight: 400\">RTM \uc774\ubca4\ud2b8 \ucc38\uc870<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400\">\ub2e4\uc74c \uc2e4\uc2dc\uac04 \uc774\ubca4\ud2b8\ub294 \ud074\ub77c\uc774\uc5b8\ud2b8 \uc571 \ubc0f Kore.ai \ubd07 \ud50c\ub7ab\ud3fc \uac04\uc5d0 \uad50\ud658\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"RTM-2\"><span style=\"font-weight: 400\">RTM \ud074\ub77c\uc774\uc5b8\ud2b8 \uc774\ubca4\ud2b8<\/span><\/span><\/h3>\n<p>\uc774 \uc139\uc158\uc5d0\uc11c\ub294 \uc6f9 \uc18c\ucf13\uc744 \ud1b5\ud574 \ud074\ub77c\uc774\uc5b8\ud2b8 \uc571\uc5d0\uc11c Kore.ai \ubd07 \ud50c\ub7ab\ud3fc\uc73c\ub85c \uc804\uc1a1\ub41c RTM \ud074\ub77c\uc774\uc5b8\ud2b8 \uc774\ubca4\ud2b8 JSON \uc751\ub2f5\uc744 \uc124\uba85\ud569\ub2c8\ub2e4. <strong>\uc774\ubca4\ud2b8 \uc720\ud615:<\/strong>&nbsp;<code>\/bot.message<\/code> <strong>\uc124\uba85:<\/strong> \uc0ac\uc6a9\uc790\uac00 \uba54\uc2dc\uc9c0\ub97c \uac8c\uc2dc\ud560 \ub54c \uc2e4\ud589\ub429\ub2c8\ub2e4. \ub2e4\uc74c \ud398\uc774\ub85c\ub4dc\ub294 \uc0ac\uc6a9\uc790\uac00 \uc785\ub825\ud55c \uba54\uc2dc\uc9c0\ub97c \ubd07 \ud50c\ub7ab\ud3fc\uc73c\ub85c \ubcf4\ub0b4\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4.<\/p>\n<pre class=\"toolbar:1 lang:default decode:true\">{\r\n    \"clientMessageId\": 1466692440896,\r\n    \"message\": {\r\n        \"body\": \"Here is the message.\",\r\n        \"attachments\": [\r\n\r\n      ]\r\n    },\r\n    \"resourceid\": \"\/bot.message\",\r\n    \"botInfo\": {\r\n        \"chatBot\": \"CNN\",\r\n        \"taskBotId\": \"st-8aaf0939-c34a-5976-8e2e-5c91e685b2ce\"\r\n    },\r\n    \"id\": 1466692440896\r\n}<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"RTM-3\"><span style=\"font-weight: 400\">RTM \uc11c\ubc84 \uc774\ubca4\ud2b8<\/span><\/span><\/h3>\n<p><span style=\"font-weight: 400\">\uc774 \uc139\uc158\uc5d0\uc11c\ub294 \uc6f9 \uc18c\ucf13\uc744 \ud1b5\ud574 \ud074\ub77c\uc774\uc5b8\ud2b8 \uc571\uc73c\ub85c \uc804\uc1a1\ub41c RTM \uc11c\ubc84 \uc774\ubca4\ud2b8 JSON \uc751\ub2f5\uc744 \uc124\uba85\ud569\ub2c8\ub2e4.<\/span> <strong>\uc774\ubca4\ud2b8 \uc720\ud615:<\/strong>&nbsp;<code>ack<\/code> <strong>\uc124\uba85:<\/strong> \ud074\ub77c\uc774\uc5b8\ud2b8 \uc571\uc5d0\uc11c \uc774\ubca4\ud2b8\uac00 \uc218\uc2e0\ub420 \ub54c\ub9c8\ub2e4 \uc804\uc1a1\ub418\ub294 \ud655\uc778 \uc751\ub2f5\uc785\ub2c8\ub2e4. \ub2e4\uc74c \ud398\uc774\ub85c\ub4dc\ub294 \ud074\ub77c\uc774\uc5b8\ud2b8 \uc571\uc73c\ub85c\ubd80\ud130 \uc774\ubca4\ud2b8\ub97c \ud655\uc778 \uc751\ub2f5\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4.<\/p>\n<pre class=\"toolbar:1 lang:default decode:true\">{\r\n    \"ok\": true,\r\n    \"replyto\": 1466692440896,\r\n    \"message\": \"delivered\",\r\n    \"type\": \"ack\"\r\n}<\/pre>\n<p><strong>\uc774\ubca4\ud2b8 \uc720\ud615:<\/strong>&nbsp;<code>bot_response<\/code> <strong>\uc124\uba85:<\/strong> \ud074\ub77c\uc774\uc5b8\ud2b8 \uc571\uc5d0\uc11c \uba54\uc2dc\uc9c0\uac00 \ucc98\ub9ac\ub420 \ub54c\ub9c8\ub2e4 \uc804\uc1a1\ub418\ub294 \ud655\uc778 \uc751\ub2f5\uc785\ub2c8\ub2e4. \ud074\ub77c\uc774\uc5b8\ud2b8 \uc571\uc5d0\uc11c \uba54\uc2dc\uc9c0\uac00 \ucc98\ub9ac\ub420 \ub54c\ub9c8\ub2e4 \ub2e4\uc74c \ud398\uc774\ub85c\ub4dc\uac00 \uc804\uc1a1\ub429\ub2c8\ub2e4.<\/p>\n<pre class=\"toolbar:1 lang:default decode:true\">{\r\n    \"type\": \"bot_response\",\r\n    \"from\": \"bot\",\r\n    \"message\": [\r\n        {\r\n            \"type\": \"text\",\r\n            \"cInfo\": {\r\n                \"body\": \" Hi.  \"\r\n            }\r\n      }\r\n   ],\r\n    \"botInfo\": {\r\n        \"chatBot\": \"CNN\",\r\n        \"taskBotId\": \"st-8aaf0939-c34a-5976-8e2e-5c91e685b2ce\"\r\n    },\r\n    \"createdOn\": \"2016-06-23T14:34:00.025Z\",\r\n    \"icon\": \"https:\/\/devbots.kore.com\/api\/getMediaStream\/market\/f-683e82be-fc25-5921-bf41-4104780f71c2.png\"\r\n}<\/pre>\n<p><strong>\uc774\ubca4\ud2b8 \uc720\ud615:<\/strong>&nbsp;<code>user_message<\/code> <\/p>\n<p><strong>\uc124\uba85:<\/strong>&nbsp;\uc0ac\uc6a9\uc790\uac00 \ub2e4\ub978 \uc138\uc158\uc5d0\uc11c \ub3d9\uc2dc\uc5d0 \uba54\uc2dc\uc9c0\ub97c \uc785\ub825\ud558\uace0 \uc11c\ubc84\uc5d0 \uba54\uc2dc\uc9c0\ub97c \ubcf4\ub0bc \ub54c \ud074\ub77c\uc774\uc5b8\ud2b8 \uc571\uc73c\ub85c \uc804\uc1a1\ub429\ub2c8\ub2e4. \ub2e4\uc74c \uc0d8\ud50c \ud398\uc774\ub85c\ub4dc\ub294 \ud074\ub77c\uc774\uc5b8\ud2b8 \uc571\uc73c\ub85c \uc804\uc1a1\ub429\ub2c8\ub2e4.<\/p>\n<pre class=\"toolbar:1 lang:default decode:true\">{\r\n    \"botInfo\": {\r\n        \"chatBot\": \"CNN\",\r\n        \"taskBotId\": \"st-8aaf0939-c34a-5976-8e2e-5c91e685b2ce\"\r\n    },\r\n    \"from\": \"self\",\r\n    \"message\": {\r\n        \"body\": \"how are you doing \",\r\n        \"attachments\": []\r\n    },\r\n    \"id\": 1466692871803,\r\n    \"type\": \"user_message\"\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<h2><span class=\"ez-toc-section\" id=\"i-3\">\ub300\ud654 \uae30\ub85d \uac00\uc838\uc624\uae30<\/span><\/h2>\n<p>\ud074\ub77c\uc774\uc5b8\ud2b8 \uc571\uc740 \uc704\uc758 2\ub2e8\uacc4\uc5d0\uc11c \uc0dd\uc131\ub41c \uc561\uc138\uc2a4 \ud1a0\ud070\uc744 \uc0ac\uc6a9\ud558\uc5ec \ubd07 \ud50c\ub7ab\ud3fc \uc5d4\ub4dc\ud3ec\uc778\ud2b8 <code>\/api\/botmessages\/rtm?botId={{botId}}<\/code>\ub97c \uc694\uccad\ud558\uc5ec \uc0ac\uc6a9\uc790 \ubc0f \ubd07 \uac04\uc5d0 \uad50\ud658\ub41c \uc774\uc804 \uba54\uc2dc\uc9c0\ub97c \uac00\uc838\uc635\ub2c8\ub2e4. \uc5b8\uae09\ub41c \uc5d4\ub4dc\ud3ec\uc778\ud2b8\uc758 \uc751\ub2f5\uc744 \ub300\ud654\ucc3d\uc5d0 \ub300\ud654 \uae30\ub85d\uc744 \ud45c\uc2dc\ud558\ub294 \ub370 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uc139\uc158\uc5d0\uc11c\ub294 \ub2e4\uc74c JSON \uad6c\ubb38\uc744 \uae30\ubc18\uc73c\ub85c <code>\/api\/botmessages\/rtm<\/code> \uc5d4\ub4dc\ud3ec\uc778\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc6f9 \uc18c\ucf13 URL\uc744 \uac00\uc838\uc624\ub294 \uc694\uccad \ud615\uc2dd\uc744 \uc9c0\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4.<\/p>\n<pre>GET https:\/\/{{APIHost}}\/api\/botmessages\/rtm?botId={{botId}}<\/pre>\n<p><strong>\uc9c8\uc758 \ub9e4\uac1c\ubcc0\uc218<\/strong>:<\/p>\n<ul>\n<li>botId(\ud544\uc218): \ubd07 ID\uc774\uba70, \ubd07\uc758 \uc77c\ubc18 \uc124\uc815 \ud398\uc774\uc9c0\uc5d0\uc11c \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>skip\/offset(\uc635\uc158): \uac74\ub108\ub6f8 \uba54\uc2dc\uc9c0 \uc218\uc785\ub2c8\ub2e4.<\/li>\n<li>limit(\uc635\uc158): \uac00\uc838\uc62c \uba54\uc2dc\uc9c0 \uc218\uc785\ub2c8\ub2e4.<\/li>\n<li><code>accessToken<\/code>: \ud5e4\ub354\uc5d0 \uad8c\ud55c \ubd80\uc5ec \ub9e4\uac1c\ubcc0\uc218\ub85c bearer\uc640 \ud568\uaed8 \uc804\ub2ec\ub429\ub2c8\ub2e4<\/li>\n<\/ul>\n<p><strong>\uc0d8\ud50c cURL<\/strong><\/p>\n<pre>curl 'https:\/\/{{APIHost}}\/api\/botmessages\/rtm?botId={{botId}}&amp;limit=10' \\\r\n  -H 'accept: application\/json' \\\r\n  -H 'Authorization: bearer -{{accessToken}}' \\\r\n  -H 'content-type: application\/json'<\/pre>\n<p><strong>\uc0d8\ud50c \uc751\ub2f5<\/strong><\/p>\n<pre>{\r\n  \"total\": 2,\r\n  \"moreAvailable\": false,\r\n  \"messages\": [\r\n    {\r\n      \"_id\": \"ms-8a83d099-dd93-5b6b-836b-ac77bdfe9d4a\",\r\n      \"channels\": [\r\n        {\r\n          \"type\": \"rtm\"\r\n        }\r\n      ],\r\n      \"type\": \"incoming\",\r\n      \"status\": \"sent to cs\",\r\n      \"createdBy\": \"u-211f287f-17c8-51ac-b768-15c68e19afb2\",\r\n      \"lmodifiedBy\": \"u-211f287f-17c8-51ac-b768-15c68e19afb2\",\r\n      \"lmodifiedOn\": \"2019-12-03T05:07:44.008Z\",\r\n      \"botId\": \"st-2f579dbf-9dc1-548c-972f-f19d33160a07\",\r\n      \"orgId\": \"o-44741779-1971-5ab9-a0f7-aaf4e21dbe4e\",\r\n      \"accountId\": \"5a675150ff600b3d7665d2a6\",\r\n      \"isBB\": 0,\r\n      \"ms\": 1,\r\n      \"chnl\": \"rtm\",\r\n      \"components\": [\r\n        {\r\n          \"_id\": \"cp-1edc5033-a9cb-5011-8b2b-5986b7fa45cc\",\r\n          \"cT\": \"text\",\r\n          \"data\": {\r\n            \"text\": \"Hi\"\r\n          },\r\n          \"thumbnails\": [\r\n           \r\n          ]\r\n        }\r\n      ],\r\n      \"createdOn\": \"2019-12-03T05:07:44.097Z\",\r\n      \"timestampValue\": 1575349664097,\r\n      \"__v\": 0,\r\n      \"lang\": \"en\",\r\n      \"sessionId\": \"5de5eda04cdcff145752dbf6\",\r\n      \"nodeType\": 0,\r\n      \"tr0_I\": \"dg-61e5609f-76e7-5c42-b66f-7bb8b3af2433:intent0\",\r\n      \"tr0_O\": \"dg-61e5609f-76e7-5c42-b66f-7bb8b3af2433:entity1:4a04988ee640428d1847fc433081be0b\",\r\n      \"tr0_T\": \"0\",\r\n      \"tr_isSS\": 1,\r\n      \"resourceid\": \"messagestore\",\r\n      \"tags\": {\r\n        \"messageTags\": [\r\n         \r\n        ],\r\n        \"userTags\": [\r\n         \r\n        ],\r\n        \"sessionTags\": [\r\n         \r\n        ]\r\n      }\r\n    },\r\n    {\r\n      \"_id\": \"ms-80e8dbf3-ca69-5ee2-a2c1-1c6a70100c08\",\r\n      \"channels\": [\r\n        {\r\n          \"type\": \"rtm\"\r\n        }\r\n      ],\r\n      \"type\": \"outgoing\",\r\n      \"status\": \"pending\",\r\n      \"lmodifiedOn\": \"2019-12-03T05:07:45.165Z\",\r\n      \"createdBy\": \"u-211f287f-17c8-51ac-b768-15c68e19afb2\",\r\n      \"components\": [\r\n        {\r\n          \"_id\": \"cp-209a0641-130b-57ce-b0d3-d651691084bb\",\r\n          \"cT\": \"text\",\r\n          \"data\": {\r\n            \"text\": \"Please enter the text to comment on the issue\"\r\n          },\r\n          \"thumbnails\": [\r\n           \r\n          ]\r\n        }\r\n      ],\r\n      \"botId\": \"st-2f579dbf-9dc1-548c-972f-f19d33160a07\",\r\n      \"orgId\": \"o-44741779-1971-5ab9-a0f7-aaf4e21dbe4e\",\r\n      \"accountId\": \"5a675150ff600b3d7665d2a6\",\r\n      \"tN\": \"Add Comment to Issue\",\r\n      \"isBB\": 0,\r\n      \"ms\": 1,\r\n      \"chnl\": \"rtm\",\r\n      \"lang\": \"en\",\r\n      \"createdOn\": \"2019-12-03T05:07:45.171Z\",\r\n      \"timestampValue\": 1575349665171,\r\n      \"__v\": 0,\r\n      \"sessionId\": \"5de5eda04cdcff145752dbf6\",\r\n      \"resourceid\": \"messagestore\",\r\n      \"tags\": {\r\n        \"messageTags\": [\r\n         \r\n        ],\r\n        \"userTags\": [\r\n         \r\n        ],\r\n        \"sessionTags\": [\r\n         \r\n        ]\r\n      }\r\n    }\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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h2><span class=\"ez-toc-section\" id=\"i-4\"><em>\ub2e4\uc74c \ub2e8\uacc4<\/em><\/span><\/h2>\n<p>\ubd07 \ud50c\ub7ab\ud3fc API \uc5d4\ub4dc\ud3ec\uc778\ud2b8 \ubc0f RTM \uc774\ubca4\ud2b8\ub294 \ud074\ub77c\uc774\uc5b8\ud2b8 \uc571 \ub610\ub294 Kore.ai \ubd07 SDK\uc640 \ud568\uaed8 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc790\uc138\ud55c \ub0b4\uc6a9\uc740, <a href=\"https:\/\/multisite.korebots.com\/uncategorised-ko-2\/kore-web-sdk\/?lang=ko\">Kore.ai \ubd07 SDK<\/a>\ub97c \ucc38\uc870\ud558\uc138\uc694.<\/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><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Kore.ai SDK \ub77c\uc774\ube0c\ub7ec\ub9ac\ub294 \uc6f9 \uc18c\ucf13 \ucc44\ub110\uc744 \uc0ac\uc6a9\ud558\uc5ec Kore.ai \ubd07 \ud50c\ub7ab\ud3fc\uacfc \ud1b5\uc2e0\ud569\ub2c8\ub2e4. \uc6f9 \uc18c\ucf13 \uc138\uc158\uc744 \ucd08\uae30\ud654\ud558\ub824\uba74, Kore.ai SDK\ub294 \ub2e4\uc74c \ubd07 \ud50c\ub7ab\ud3fc \uc5d4\ub4dc\ud3ec\uc778\ud2b8\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4. Kore.ai \ubd07 \ud50c\ub7ab\ud3fc SDK\ub97c \uc0ac\uc6a9\ud558\ub294 \uacbd\uc6b0, JWT \ud1a0\ud070\ub9cc \uc0dd\uc131\ud558\uace0 \ud074\ub77c\uc774\uc5b8\ud2b8 SDK\ub85c \uc804\ub2ec\ud574\uc57c \ud569\ub2c8\ub2e4. \ucd08\uae30\ud654 \uc774 \uc139\uc158\uc5d0\uc11c\ub294 Kore.ai SDK\uac00 \uc6f9 \uc18c\ucf13\uc744 \ucd08\uae30\ud654\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud558\uba70 \ucc38\uc870 \uc804\uc6a9\uc785\ub2c8\ub2e4. \ud544\uc218 \uad6c\uc131 \uc694\uc18c \ud074\ub77c\uc774\uc5b8\ud2b8 \uc571\uc774 \ub4f1\ub85d\ub418\uc5b4 \uc788\uace0, \ud074\ub77c\uc774\uc5b8\ud2b8...","protected":false},"author":22,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-41332","post","type-post","status-publish","format-standard","hentry","category-sdks"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41332","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=41332"}],"version-history":[{"count":1,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41332\/revisions"}],"predecessor-version":[{"id":41333,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41332\/revisions\/41333"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=41332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=41332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=41332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}