{"id":2604,"date":"2023-08-10T10:41:55","date_gmt":"2023-08-10T02:41:55","guid":{"rendered":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-get-all-cookie\/"},"modified":"2024-12-04T15:26:15","modified_gmt":"2024-12-04T07:26:15","slug":"api-get-all-cookie","status":"publish","type":"docs","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-get-all-cookie\/","title":{"rendered":"API Get ALL Cookie"},"content":{"rendered":"\n<p class=\"has-medium-font-size\"><strong>API Get ALL Cookie:<\/strong><\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">Request Url: <\/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\">http:\/\/127.0.0.1:35000\/api\/v1\/profile\/getCookies<\/mark><\/code><\/pre>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">Request Type: POST<\/p>\n\n\n\n<p><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>profileId<\/td><td>string<\/td><td>Browser profile ID<\/td><td>true<\/td><\/tr><tr><td>all<\/td><td>number<\/td><td>No:0&nbsp;Yes:1<\/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\">Body<br>x-www-form-urlencoded<\/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    \"profileId\": \"056FEE67-A1E2-412B-866F-78DEA5AF2D22\",\n    \"all\": 1\n}\n<\/mark><\/code><\/pre>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">Response<\/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    \"status\": \"OK\",\n    \"value\": {\n        \"cookies\": &#91;\n            {\n                \"priority\": \"Medium\",\n                \"sourcePort\": 443,\n                \"secure\": true,\n                \"httpOnly\": true,\n                \"domain\": \".xlogin.us\",\n                \"session\": false,\n                \"sourceScheme\": \"Secure\",\n                \"value\": \"dec441b8fd6438a4c681758a5cab8d0df1619404584\",\n                \"expires\": 1621996585.11884,\n                \"size\": 51,\n                \"path\": \"\/\",\n                \"name\": \"__cfduid\",\n                \"sameSite\": \"Lax\",\n                \"sameParty\": false\n            }\n        ]\n    }\n}\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\">1. Enable browser automation settings and save the settings on the XLogin client. For the tutorial, please refer to the\u00a0<strong><a href=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/launch-the-browser-automation-port\/?swcfpc=1\" target=\"_blank\" rel=\"noreferrer noopener\">\"Launch the browser automation port\"<\/a><\/strong>;<\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">2. profileId: Please refer to the\u00a0<strong><a href=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/where-can-the-profile-id-be-found\/?swcfpc=1\" target=\"_blank\" rel=\"noreferrer noopener\">\"Where can the Profile ID be Found?\"<\/a><\/strong>\u00a0tutorial or use the\u00a0<strong><a href=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-get-the-list-of-all-available-browser-profiles\/?swcfpc=1\" target=\"_blank\" rel=\"noreferrer noopener\">profile\/list interface<\/a><\/strong>\u00a0to get all profileId.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"773\" height=\"537\" src=\"https:\/\/www.xlogin.us\/help\/wp-content\/uploads\/2023\/08\/\u56fe8-3.png\" alt=\"\" class=\"wp-image-2719\" srcset=\"https:\/\/www.xlogin.us\/help\/wp-content\/uploads\/2023\/08\/\u56fe8-3.png 773w, https:\/\/www.xlogin.us\/help\/wp-content\/uploads\/2023\/08\/\u56fe8-3-300x208.png 300w, https:\/\/www.xlogin.us\/help\/wp-content\/uploads\/2023\/08\/\u56fe8-3-768x534.png 768w\" sizes=\"auto, (max-width: 773px) 100vw, 773px\" \/><\/figure>\n\n\n\n<p><br><\/p>\n","protected":false},"featured_media":0,"parent":810,"menu_order":50,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-2604","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2604","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=2604"}],"version-history":[{"count":4,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2604\/revisions"}],"predecessor-version":[{"id":2751,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2604\/revisions\/2751"}],"up":[{"embeddable":true,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/810"}],"next":[{"title":"API Ask If the Current Page is Loaded","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-ask-if-the-current-page-is-loaded\/","href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2607"}],"prev":[{"title":"API ScreenShot","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-screenshot\/","href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2600"}],"wp:attachment":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/media?parent=2604"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/doc_tag?post=2604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}