{"id":29290,"date":"2021-08-25T05:56:26","date_gmt":"2021-08-25T04:56:26","guid":{"rendered":"https:\/\/developer.kore.ai\/v8-1\/?p=29290"},"modified":"2021-08-25T05:57:04","modified_gmt":"2021-08-25T04:57:04","slug":"get-groups-api","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v8-1\/docs\/bots\/api-guide\/get-groups-api\/?lang=ja","title":{"rendered":"\u30b0\u30eb\u30fc\u30d7\u3092\u53d6\u5f97\u3059\u308bAPI"},"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>\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u5229\u7528\u53ef\u80fd\u306a\u30b0\u30eb\u30fc\u30d7\u304a\u3088\u3073\u30b0\u30eb\u30fc\u30d7\u30e1\u30f3\u30d0\u30fc\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p class=\"note\">\u3053\u306eAPI\u306b\u306f\u3001\u30dc\u30c3\u30c8\u7ba1\u7406\u8005\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u306e\u307f\u4f5c\u6210\u3055\u308c\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u3063\u3066\u751f\u6210\u3055\u308c\u305fJWT\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306eAPI\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u3001\u30a2\u30d7\u30ea\u306f [<em>\u30ed\u30fc\u30eb\u7ba1\u7406<\/em>] \u306e [<em>\u30ed\u30fc\u30eb\u7ba1\u7406<\/em>] \u306e\u7ba1\u7406API\u30b9\u30b3\u30fc\u30d7\u3092\u5fc5\u8981\u3068\u3057\u307e\u3059\u3002<\/p>\n<p><b>GET <\/b><code>https:\/\/{{host}}\/api\/public\/groups?offset=0&amp;limit=2<\/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\">\u30d1\u30b9\u30d1\u30e9\u30e1\u30fc\u30bf<\/span><\/h3>\n<table>\n<tbody>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u5fc5\u9808\/\u4efb\u610f<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>\u30db\u30b9\u30c8<\/td>\n<td>\u5fc5\u9808<\/td>\n<td>\u74b0\u5883URL\uff08\u4f8b\uff1a https:\/\/bots.kore.ai\uff09<\/td>\n<\/tr>\n<tr>\n<td>offset<\/td>\n<td>\u4efb\u610f<\/td>\n<td>\u30b0\u30eb\u30fc\u30d7\u306e\u8a18\u9332\u306e\u53d6\u5f97\u3092\u958b\u59cb\u3059\u308b\u30da\u30fc\u30b8\u756a\u53f7\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u30b0\u30eb\u30fc\u30d7\u306e\u8a18\u9332\u306e\u6700\u521d\u306e\u30da\u30fc\u30b8\u3067\u3042\u308b0\u304b\u3089\u958b\u59cb\u3055\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>limit<\/td>\n<td>\u4efb\u610f<\/td>\n<td>\u53d6\u5f97\u3059\u308b\u8a18\u9332\u6570\u3067\u3059\u3002\u6700\u5927\u5024\u306f50\u3067\u3059\u3002<\/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\">\u8a8d\u8a3c<\/span><\/h3>\n<p>\u4ee5\u4e0b\u306e\u69cb\u6587\u3092\u4f7f\u7528\u3057\u3066\u3001JWT\u3092\u30d8\u30c3\u30c0\u30fc\u306b\u542b\u3080API\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002 <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-3\">\u5fdc\u7b54\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u30bf\u30a4\u30d7<\/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\">\u30b5\u30f3\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8<\/span><\/h3>\n<pre>curl -X GET \\ https:\/\/{{host}}\/api\/public\/groups?offset=0&amp;limit=2&apos; \\ -H &apos;auth: {{YOUR_JWT_ACCESS_TOKEN}}&apos; \\<\/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\">\u30b5\u30f3\u30d7\u30eb\u5fdc\u7b54<\/span><\/h3>\n<pre>{ &quot;total&quot;: 2, &quot;availableMore&quot;: false, &quot;groups&quot;: [ { &quot;_id&quot;: &quot;e-eed8e93a-79ff-523b-9545-4833c2683e86&quot;, &quot;gN&quot;: &quot;Audit&quot;, &quot;gDesc&quot;: &quot;Audit Team&quot;, &quot;groups&quot;: [], &quot;users&quot;: [ { &quot;_id&quot;: &quot;u-c32243f6-b4ba-5884-9527-a7efb9a0ac9e&quot;, &quot;emailId&quot;: &quot;sample1@sampleemail.com&quot;, &quot;lastName&quot;: &quot;Sample1&quot;, &quot;firstName&quot;: &quot;Sample&quot;, &quot;profImage&quot;: &quot;profile.png&quot;, &quot;profColour&quot;: &quot;#ffd700&quot;, &quot;activationStatus&quot;: &quot;active&quot;, &quot;jTitle&quot;: &quot;&quot;, &quot;orgId&quot;: &quot;o-c2419ad3-e160-5bae-af32-6e62f1153a1e&quot; }, { &quot;_id&quot;: &quot;u-f2323ccf-b475-59a9-a52b-194698ee0230&quot;, &quot;emailId&quot;: &quot;sample2@sampleemail.com&quot;, &quot;lastName&quot;: &quot;Sample2&quot;, &quot;firstName&quot;: &quot;Sample&quot;, &quot;profImage&quot;: &quot;profile.png&quot;, &quot;profColour&quot;: &quot;&quot;, &quot;activationStatus&quot;: &quot;active&quot;, &quot;jTitle&quot;: null, &quot;orgId&quot;: &quot;o-8f992732-faa8-5191-bab5-db39efc10a9f&quot; } ], &quot;userCount&quot;: 2 }, { &quot;_id&quot;: &quot;e-8c91bfc5-8ecd-5707-9c35-7539297e77c9&quot;, &quot;gN&quot;: &quot;RiskManagement&quot;, &quot;gDesc&quot;: &quot;Risk Management Team&quot;, &quot;groups&quot;: [], &quot;users&quot;: [ { &quot;_id&quot;: &quot;u-0204c8d7-24d4-5ggf-bd73-7c4eaf093b83&quot;, &quot;emailId&quot;: &quot;sample3@sampleeemail.com&quot;, &quot;lastName&quot;: &quot;Sample2&quot;, &quot;firstName&quot;: &quot;Sample&quot;, &quot;profImage&quot;: &quot;no-avatar&quot;, &quot;profColour&quot;: &quot;#2e8b57&quot;, &quot;activationStatus&quot;: &quot;active&quot;, &quot;jTitle&quot;: &quot;&quot;, &quot;orgId&quot;: &quot;o-1b67d2f0-4812-5083-8453-55b8f5f9247f&quot; }, { &quot;_id&quot;: &quot;u-19ecg162-40cb-5f0c-b594-2ac52211f09b&quot;, &quot;emailId&quot;: &quot;sample3@sampleemail.com&quot;, &quot;lastName&quot;: &quot;Sample3&quot;, &quot;firstName&quot;: &quot;Sample&quot;, &quot;profImage&quot;: &quot;no-avatar&quot;, &quot;profColour&quot;: &quot;#ff0000&quot;, &quot;activationStatus&quot;: &quot;active&quot;, &quot;jTitle&quot;: null, &quot;orgId&quot;: &quot;o-642h0c8a-6e89-5ffe-8tb4-0eacd11c5b41&quot; } ], &quot;userCount&quot;: 2 } ] }<\/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":"\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u5229\u7528\u53ef\u80fd\u306a\u30b0\u30eb\u30fc\u30d7\u304a\u3088\u3073\u30b0\u30eb\u30fc\u30d7\u30e1\u30f3\u30d0\u30fc\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002 \u3053\u306eAPI\u306b\u306f\u3001\u30dc\u30c3\u30c8\u7ba1\u7406\u8005\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u306e\u307f\u4f5c\u6210\u3055\u308c\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u3063\u3066\u751f\u6210\u3055\u308c\u305fJWT\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306eAPI\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u3001\u30a2\u30d7\u30ea\u306f [\u30ed\u30fc\u30eb\u7ba1\u7406] \u306e [\u30ed\u30fc\u30eb\u7ba1\u7406] \u306e\u7ba1\u7406API\u30b9\u30b3\u30fc\u30d7\u3092\u5fc5\u8981\u3068\u3057\u307e\u3059\u3002 GET https:\/\/{{host}}\/api\/public\/groups?offset=0&amp;limit=2 \u30d1\u30b9\u30d1\u30e9\u30e1\u30fc\u30bf \u30d1\u30e9\u30e1\u30fc\u30bf \u5fc5\u9808\/\u4efb\u610f \u8aac\u660e \u30db\u30b9\u30c8 \u5fc5\u9808 \u74b0\u5883URL\uff08\u4f8b\uff1a https:\/\/bots.kore.ai\uff09 offset \u4efb\u610f \u30b0\u30eb\u30fc\u30d7\u306e\u8a18\u9332\u306e\u53d6\u5f97\u3092\u958b\u59cb\u3059\u308b\u30da\u30fc\u30b8\u756a\u53f7\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u30b0\u30eb\u30fc\u30d7\u306e\u8a18\u9332\u306e\u6700\u521d\u306e\u30da\u30fc\u30b8\u3067\u3042\u308b0\u304b\u3089\u958b\u59cb\u3055\u308c\u307e\u3059\u3002 limit \u4efb\u610f \u53d6\u5f97\u3059\u308b\u8a18\u9332\u6570\u3067\u3059\u3002\u6700\u5927\u5024\u306f50\u3067\u3059\u3002 \u8a8d\u8a3c \u4ee5\u4e0b\u306e\u69cb\u6587\u3092\u4f7f\u7528\u3057\u3066\u3001JWT\u3092\u30d8\u30c3\u30c0\u30fc\u306b\u542b\u3080API\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002 auth: {{JWT}} \u5fdc\u7b54\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u30bf\u30a4\u30d7 application\/json \u30b5\u30f3\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8 curl -X GET \\ https:\/\/{{host}}\/api\/public\/groups?offset=0&amp;limit=2&apos; \\ -H &apos;auth: {{YOUR_JWT_ACCESS_TOKEN}}&apos; \\ \u30b5\u30f3\u30d7\u30eb\u5fdc\u7b54 { &quot;total&quot;: 2, &quot;availableMore&quot;: false, &quot;groups&quot;: [ { &quot;_id&quot;: &quot;e-eed8e93a-79ff-523b-9545-4833c2683e86&quot;, &quot;gN&quot;: &quot;Audit&quot;, &quot;gDesc&quot;: &quot;Audit Team&quot;,...","protected":false},"author":14,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-29290","post","type-post","status-publish","format-standard","hentry","category-api-guide"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts\/29290","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/comments?post=29290"}],"version-history":[{"count":1,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts\/29290\/revisions"}],"predecessor-version":[{"id":29291,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts\/29290\/revisions\/29291"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/media?parent=29290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/categories?post=29290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/tags?post=29290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}