{"id":2465,"date":"2023-08-09T10:09:36","date_gmt":"2023-08-09T02:09:36","guid":{"rendered":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-refresh-the-profile-browser\/"},"modified":"2024-12-04T15:26:14","modified_gmt":"2024-12-04T07:26:14","slug":"api-refresh-the-profile-browser","status":"publish","type":"docs","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-refresh-the-profile-browser\/","title":{"rendered":"API Refresh the Profile Browser"},"content":{"rendered":"\n<p class=\"has-medium-font-size\"><strong>API Refresh the profile browser:<\/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\/refresh<\/mark><\/code><\/pre>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">Request Type: POST\/GET<\/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><\/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}<\/mark>\n<\/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\": \"056FEE67-A1E2-412B-866F-78DEA5AF2D22\"\n}<\/mark>\n<\/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 <strong><a href=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/launch-the-browser-automation-port\/\" data-type=\"link\" data-id=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/launch-the-browser-automation-port\/\" 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 <strong><a href=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/where-can-the-profile-id-be-found\/\" data-type=\"link\" data-id=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/where-can-the-profile-id-be-found\/\" target=\"_blank\" rel=\"noreferrer noopener\">\"Where can the Profile ID be Found?\"<\/a><\/strong> tutorial or use the&nbsp;<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>&nbsp;to get all profileId.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"784\" height=\"529\" src=\"https:\/\/www.xlogin.us\/help\/wp-content\/uploads\/2023\/08\/\u56fe3-5.png\" alt=\"\" class=\"wp-image-2696\" srcset=\"https:\/\/www.xlogin.us\/help\/wp-content\/uploads\/2023\/08\/\u56fe3-5.png 784w, https:\/\/www.xlogin.us\/help\/wp-content\/uploads\/2023\/08\/\u56fe3-5-300x202.png 300w, https:\/\/www.xlogin.us\/help\/wp-content\/uploads\/2023\/08\/\u56fe3-5-768x518.png 768w\" sizes=\"auto, (max-width: 784px) 100vw, 784px\" \/><\/figure>\n\n\n\n<p><br><\/p>\n","protected":false},"featured_media":0,"parent":810,"menu_order":35,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-2465","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2465","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=2465"}],"version-history":[{"count":7,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2465\/revisions"}],"predecessor-version":[{"id":3364,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2465\/revisions\/3364"}],"up":[{"embeddable":true,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/810"}],"next":[{"title":"API Open the Specified Page on the Current Tabs","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-open-the-specified-page-on-the-current-tabs\/","href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2468"}],"prev":[{"title":"API Get a random User-Agent","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-get-a-random-user-agent\/","href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2670"}],"wp:attachment":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/media?parent=2465"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/doc_tag?post=2465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}