{"id":2346,"date":"2023-08-04T13:30:39","date_gmt":"2023-08-04T05:30:39","guid":{"rendered":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-create-a-group\/"},"modified":"2024-12-04T15:26:13","modified_gmt":"2024-12-04T07:26:13","slug":"api-create-a-group","status":"publish","type":"docs","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-create-a-group\/","title":{"rendered":"API Create a Group"},"content":{"rendered":"\n<p class=\"has-medium-font-size\"><strong>API Create a group:<\/strong><br><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">Request Url: <br><br><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">https:\/\/api.xlogin.us\/v1\/tag\/create?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&amp;name=xxxxxxxx<\/mark><\/code><\/pre>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">Request Type: POST\/GET<br><br><\/p>\n\n\n\n<figure class=\"wp-block-table has-medium-font-size\"><table><tbody><tr><td><strong>Name<\/strong><\/td><td><strong>Type<\/strong><\/td><td><strong>Description<\/strong><\/td><td><strong>required<\/strong><\/td><\/tr><tr><td>token<\/td><td>string<\/td><td>Authentication token<\/td><td>true<\/td><\/tr><tr><td>name<\/td><td>string<\/td><td>Group name<\/td><td>true<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">Request<\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">{\n    \"token\": \"66e9f73f3617c6afdc6768f7a61a58ae\",\n    \"name\": \"xlogin.us group\"\n}   <\/mark><\/code><\/pre>\n\n\n\n<p><br><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Note:<\/strong> <\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">Please refer to&nbsp;the <strong><a href=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/view-or-change-the-api-token\/\" data-type=\"URL\" data-id=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/view-or-change-the-api-token\/\" target=\"_blank\" rel=\"noreferrer noopener\">\"API Token\"<\/a><\/strong> tutorial&nbsp;to view your API token.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"779\" height=\"561\" src=\"https:\/\/www.xlogin.us\/help\/wp-content\/uploads\/2023\/08\/1-1.png\" alt=\"\" class=\"wp-image-2646\" srcset=\"https:\/\/www.xlogin.us\/help\/wp-content\/uploads\/2023\/08\/1-1.png 779w, https:\/\/www.xlogin.us\/help\/wp-content\/uploads\/2023\/08\/1-1-300x216.png 300w, https:\/\/www.xlogin.us\/help\/wp-content\/uploads\/2023\/08\/1-1-768x553.png 768w\" sizes=\"auto, (max-width: 779px) 100vw, 779px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"featured_media":0,"parent":810,"menu_order":16,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-2346","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/comments?post=2346"}],"version-history":[{"count":12,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2346\/revisions"}],"predecessor-version":[{"id":3342,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2346\/revisions\/3342"}],"up":[{"embeddable":true,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/810"}],"next":[{"title":"API Remove a Group","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-remove-a-group\/","href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2357"}],"prev":[{"title":"Whether Support the API Interface Creating Profiles and Loading Local Plug-ins?","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/creating-profiles-and-loading-local-plug-ins\/","href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/555"}],"wp:attachment":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/media?parent=2346"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/doc_tag?post=2346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}