{"id":2559,"date":"2023-08-09T16:56:28","date_gmt":"2023-08-09T08:56:28","guid":{"rendered":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/createprofilerequest\/"},"modified":"2024-12-04T15:26:15","modified_gmt":"2024-12-04T07:26:15","slug":"createprofilerequest","status":"publish","type":"docs","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/createprofilerequest\/","title":{"rendered":"createProfileRequest"},"content":{"rendered":"\n<p class=\"has-medium-font-size\"><strong>createProfileRequest:<\/strong><\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"name\": \"myProfile\", \/\/ Basic setup -&gt; Display name\n    \"notes\": \"profile notes\", \/\/ Basic setup -&gt; Note\n    \"iconId\": 0, \/\/ Basic setup -&gt; ICON: 0 ~ 30\n    \"os\": \"Windows\", \/\/ Basic setup -&gt; System\n    \"proxyServer\": {\n        \"setProxyServer\": true, \/\/ Basic setup -&gt; Setting proxy server -&gt; Enable proxy server\n        \"type\": \"HTTP\", \/\/ Basic setup -&gt; Setting proxy server -&gt; Proxy type (HTTP\/SOCKS4\/SOCKS5\/HTTPS)\n        \"host\": \"127.0.0.1\", \/\/ Basic setup -&gt; Setting proxy server -&gt; IP address\n        \"port\": 1080, \/\/ Basic setup -&gt; Setting proxy server -&gt; Port\n        \"username\": \"hello\", \/\/ Basic setup -&gt; Setting proxy server -&gt; Username\n        \"password\": \"world\" \/\/ Basic setup -&gt; Setting proxy server -&gt; Password\n    },\n    \"webRtc\": {\n        \"type\": \"FAKE\", \/\/ Basic setup -&gt; WebRTC  OFF:&#91;real mode] enable webrtc plug-in;  BLOCK:&#91;disable mode A] disable webrtc plug-in;  FAKE:&#91;replacement mode] return to the specified IP add;  BLOCKB:&#91;disable mode B] disable webrtc plug-in(ALL);\n        \"fillOnStart\": true, \/\/ Basic setup -&gt; Auto detect IP\n        \"publicIp\": \"5.5.5.5\", \/\/ Basic setup -&gt; Public IP\n        \"localIps\": &#91;\n            \"192.168.1.10\" \/\/ Basic setup -&gt; Lan IP\n        ],\n        \"localIpsRand\": false \/\/ Basic setup -&gt; Lan IP random\n    },\n    \"userAgent\": \"user_agent_value\", \/\/ Navigator parameters -&gt; User-Agent\n    \"screenWidth\": 1920, \/\/ Navigator parameters -&gt; Resolution width\n    \"screenHeight\": 1080, \/\/ Navigator parameters -&gt; Resolution height\n    \"langHdr\": \"en-US\", \/\/ Navigator parameters -&gt; Language\n    \"acceptLanguage\": \"en-US,en;q=0.9\", \/\/ Navigator parameters -&gt; Accept-Language\n    \"platform\": \"platform_value\", \/\/ Navigator parameters -&gt; Platform\n    \"product\": \"Gecko\", \/\/ Navigator parameters -&gt; Product\n    \"appName\": \"Netscape\", \/\/ Navigator parameters -&gt; appName\n    \"hardwareConcurrency\": 4, \/\/ Navigator parameters -&gt; hardwareConcurrency (1 ~ 64)\n    \"mobileEmulation\": false, \/\/ Navigator parameters -&gt; mobileEmulatior\n    \"deviceType\": 1, \/\/ Navigator parameters -&gt; Device Type  0: Desktop  1: Mobile\n    \"hideWebdriver\": false, \/\/ Navigator parameters -&gt; hideWebdriver\n    \"langBasedOnIp\": false, \/\/ Navigator parameters -&gt; langBasedOnIp\n    \"doNotTrack\": false, \/\/ Navigator parameters -&gt; doNotTrack\n    \"deviceMemory\": 8, \/\/ Navigator parameters -&gt; deviceMemory (1 ~ 32)\n    \"pixelRatio\": \"1.0\", \/\/ Navigator parameters -&gt; Device pixel Ratio\n    \"maskFonts\": true, \/\/ Advanced fingerprint protection settings -&gt; Enable &#91;font] fingerprint protection\n    \"fontSetting\": {\n        \"dynamicFonts\": false, \/\/ Advanced fingerprint protection settings -&gt; Set font -&gt; Do not use font list, every time dynamic random (false: use  true: Do not use)\n        \"fontList\": &#91;\n            \"@Microsoft YaHei UI\",\n            \"@\u5b8b\u4f53\",\n            \"MS Outlook\"\n        ],\n        \"selectAll\": false, \/\/ Advanced fingerprint protection settings -&gt; Set font -&gt; Select all\n        \"clientRects\": true, \/\/ Advanced fingerprint protection settings -&gt; Set font -&gt; ClientRects fingerprint protection\n        \"rand\": false \/\/ Advanced fingerprint protection settings -&gt; Set font -&gt; Random font\n    },\n    \"canvasDefType\": \"NOISEB\", \/\/ Advanced fingerprint protection settings -&gt; &#91;Canvas] fingerprint protection(type)\uff1aNoise mode A(NOISEA) | blocking mode(BLOCK) | Noise mode B(NOISEB) | Noise mode C(NOISEC) | disable(OFF)\n    \"audio\": {\n        \"noise\": true \/\/ Advanced fingerprint protection settings -&gt; Enable &#91;AudioContext] fingerprint protection (noise mode)\n    },\n    \"webgl\": {\n        \"vendor\": \"vendor_value\", \/\/ Advanced fingerprint protection settings -&gt; Enable &#91;WebGL] fingerprint protection -&gt; WebGL vendor\n        \"renderer\": \"renderer_value\" \/\/ Advanced fingerprint protection settings -&gt; Enable &#91;WebGL] fingerprint protection -&gt; WebGL renderer\n    },\n    \"timeZoneFillOnStart\": false, \/\/ Advanced fingerprint protection settings -&gt; Enable setting time zone based on IP\n    \"timeZone\": \"Europe\/Tallinn\", \/\/ Advanced fingerprint protection settings -&gt; Set timezone\n    \"mediaDevices\": { \/\/ Media device fingerprint setting\n        \"setMediaDevices\": true, \/\/ Media device fingerprint setting -&gt; Number of custom media devices\n        \"use_name\": false, \/\/ Media device fingerprint setting -&gt; Set device name\n        \"videoInputs\": 1,  \/\/ Media device fingerprint setting -&gt; Video input  (Value range 0 ~ 1)\n        \"audioInputs\": 2,  \/\/ Media device fingerprint setting -&gt; Audio input  (Value range 0 ~ 4)\n        \"audioOutputs\": 4, \/\/ Media device fingerprint setting -&gt; Audio output (Value range 0 ~ 4)\n        \/*\n        | -------------------------------------------------------------------\n        |  Updates or randomizes all or specified media device information.\n        | -------------------------------------------------------------------\n        | example 1: Randomizes all media device parameters\n        |\n        |  \"rand\": true\n        |\n        | example 2: All device parameters of the specified media device are rerandomized (The device parameters of an unspecified media device will not be changed)\n        |\n        |  \"rand\": {\n        |      \"videoInputs\": true\n        |  }\n        |\n        | example 3: Re randomizes the specified device parameters (unspecified device parameters will not be changed)\n        |\n        |  \"rand\": {\n        |      \"videoInputs\": {\n        |          \"device1\": true\n        |      }\n        |  }\n        |\n        | example 4: Re edit the specified device parameters (unspecified device parameters will not be changed)\n        |\n        |  \"rand\": {\n        |      \"videoInputs\": {\n        |          \"device1\": {\n        |              \"label\": \"label value\",\n        |              \"deviceId\": \"deviceId value\",\n        |              \"groupId\": \"groupId value\"\n        |          }\n        |      }\n        |  }\n        |\n        *\/\n        \"rand\": {\n            \"videoInputs\": true,\n            \"audioInputs\": { \/\/ The number of media devices and device number must be logically reasonable in order to be updated successfully. For example: WHEN audioInputs = 2, THEN device3 &amp; device4 Cannot update, Edit also\n                \"device1\": { \/\/ \u221a\n                    \"label\": \"label value\",\n                    \"deviceId\": \"deviceId value\",\n                    \"groupId\": \"groupId value\"\n                },\n                \"device2\": true, \/\/ \u221a\n                \"device3\": true, \/\/ x\n                \"device4\": true  \/\/ x\n            },\n            \"audioOutputs\": {\n                \"device1\": true,\n                \"device3\": true,\n                \"device4\": {\n                    \"label\": \"label value\",\n                    \"deviceId\": \"deviceId value\",\n                    \"groupId\": \"groupId value\"\n                }\n            }\n        }\n    },\n    \"startUrl\": \"https:\/\/xlogin.us\/\", \/\/ Other -&gt; Home page\n    \"kernelVer\": \"90\", \/\/ Other -&gt; Kernel ver\n    \"browserSettings\": {\n        \"pepperFlash\": true, \/\/ Other configurations -&gt; Enable Pepper Flash\n        \"mediaStream\": true, \/\/ Other configurations -&gt; Enable media (WebRTC audio\/video) streaming\n        \"webkitSpeech\": true, \/\/ Other configurations -&gt; Enable speech input (x-webkit-speech)\n        \"fakeUiForMedia\": true, \/\/ Other configurations -&gt; Bypass the media stream infobar by selecting the default device for media streams\n        \"gpuAndPepper3D\": true, \/\/ Other configurations -&gt; Enable the GPU plugin and Pepper 3D rendering\n        \"ignoreCertErrors\": true, \/\/ Other configurations -&gt; ignore certificate errors\n        \"audioMute\": true, \/\/ Other configurations -&gt; Mutes audio\n        \"disableWebSecurity\": true, \/\/ Other configurations -&gt; Don't enforce the same-origin policy\n        \"disablePdf\": true, \/\/ Other configurations -&gt; Disable the PDF extension\n        \"touchEvents\": true, \/\/ Other configurations -&gt; Enable support for touch event feature detection\n        \"hyperlinkAuditing\": true \/\/ Other configurations -&gt; Send hyperlink auditing pings in all browsers.\n    },\n    \"localCache\": {\n        \"deleteCache\": true, \/\/ Other configurations -&gt; Local cache -&gt; Delete cache file before starting browser every time\n        \"deleteCookie\": true, \/\/ Other configurations -&gt; Local cache -&gt; Delete cookies before each browser launch\n        \"clearCache\": true, \/\/ Other configurations -&gt; Local cache -&gt; Clean up file cache when browser is closed\n        \"clearHistory\": true \/\/ Other configurations -&gt; Local cache -&gt; Delete the history when the browser is closed\n    },\n    \"synSettings\": {\n        \"synCookie\": true, \/\/ Other configurations -&gt; Synchronization settings -&gt; cookies storage\n        \"synBookmark\": true, \/\/ Other configurations -&gt; Synchronization settings -&gt; bookmark saving\n        \"synHistory\": true, \/\/ Other configurations -&gt; Synchronization settings -&gt; history saving\n        \"synExtension\": true, \/\/ Other configurations -&gt; Synchronization settings -&gt; Extension storage\n        \"synKeepKey\": true, \/\/ Other configurations -&gt; Synchronization settings -&gt; password saving\n        \"synLastTag\": true \/\/ Other configurations -&gt; Synchronization settings -&gt; Last Tabs saving\n    },\n    \"leakProof\": {\n        \"computerName\": \"\", \/\/ Other configurations -&gt; Leak proof setting -&gt; Computer name\n        \"macAddress\": \"\", \/\/ Other configurations -&gt; Leak proof setting -&gt; Mac address\n        \"rand\" : &#91;\n            \"computerName\",  \/\/ Other configurations -&gt; Leak proof setting -&gt; Rand\uff08Random key names are required\uff09\n            \"macAddress\"\n        ]\n    },\n    \"browserParams\": \"\", \/\/ Other configurations -&gt; Custom -&gt; Custom launch browser parameters\n    \"customDns\": \"\", \/\/ Other configurations -&gt; Custom -&gt; Custom DNS\n    \"remoteDebug\": {\n        \"bindAllDebug\": false, \/\/ Other configurations -&gt; RemoteDebugging -&gt; Port binging 0.0.0.0\n        \"debuggingPort\": \"\", \/\/ Other configurations -&gt; RemoteDebugging -&gt; RemoteDebugging port\n        \"logLevels\": 99 \/\/ Other configurations -&gt; RemoteDebugging -&gt; Log Severity\uff1a0\uff1aDEFAULT 1: VERBOSE 99: DISABLE\n    },\n    \"pluginFingerprint\": { \/\/ Plugin fingerprint -&gt; Plugin list\n        \"pluginEnable\": true, \/\/ Plugin fingerprint -&gt; Enable custom plug-in information\n        \"list\": { \/\/ Plugin fingerprint -&gt; Plugin list\uff08selected\uff09\n            \/\/ Plugin name\n            \"name\": &#91;\n                \"Chrome PDF Plugin\",\n                \"Chrome PDF Viewer\",\n                \"Native Client\",\n                \"Shockwave Flash\"\n            ],\n            \/\/ Describe\n            \"describe\": &#91;\n                \"Portable Document Format\",\n                \"-\",\n                \"-\",\n                \"Shockwave Flash 32.0 r0\"\n            ],\n            \/\/ File name\n            \"fileName\": &#91;\n                \"internal-pdf-viewer\",\n                \"mhjfbmdgcfjbbpaeojofohoefgiehjai\",\n                \"internal-nacl-plugin\",\n                \"pepflashplayer.dll\"\n            ],\n            \/\/ mime type\n            \"mimeType\": &#91;\n                \"application\/x-google-chrome-pdf\",\n                \"application\/pdf\",\n                \"application\/x-nacl|application\/x-pnacl\",\n                \"application\/x-shockwave-flash|application\/futuresplash\"\n            ],\n            \/\/ Mime description\n            \"mimeDescription\": &#91;\n                \"Portable Document Format\",\n                \"-\",\n                \"Native Client Executable|-Portable Native Client Executable\",\n                \"Shockwave Flash|Shockwave Flash\"\n            ],\n            \/\/ Mime extension\n            \"mimeExtension\": &#91;\n                \"pdf\",\n                \"pdf\",\n                \"|\",\n                \"swf|spl\"\n            ]\n        }\n    },\n    \"unPluginFingerprint\": { \/\/ Plugin fingerprint -&gt; Plugin list\n        \"list\": { \/\/ Plugin fingerprint -&gt; Plugin list\uff08unselected\uff09\n            \"name\": &#91;\n                \"name\"\n            ],\n            \"describe\": &#91;\n               \"describe\"\n            ],\n            \"fileName\": &#91;\n                \"fileName\"\n            ],\n            \"mimeType\": &#91;\n                \"mimeType\"\n            ],\n            \"mimeDescription\": &#91;\n                \"mimeDescription\"\n            ],\n            \"mimeExtension\": &#91;\n                \"mimeExtension\"\n            ]\n        }\n    },\n    \"browserApi\": { \/\/ Navigator API\n        \"setBatteryStatus\": false, \/\/ Set Battery Status API\n        \"isCharging\": true, \/\/ Battery charging\n        \"chargingTime\": \"0\", \/\/ Battery charging time (\"0\" \"Infinity\")\n        \"drainsTime\": \"Infinity\", \/\/ Battery discharging time (\"Infinity\" \"3600\" \"18000\" \"10800\" \"12600\")\n        \"batteryPercentage\": \"1\", \/\/ Battery level (0.01 ~ 1)\n        \"autoGeoIp\": false, \/\/ Geolocation -&gt; Fill geolocation based on IP\n        \"setLatitude\": false, \/\/ Geolocation -&gt; Latitude\n        \"setLongitude\": false, \/\/ Geolocation -&gt; Longitude\n        \"setAccuracy\": false, \/\/ Geolocation -&gt; Accuracy\n        \"latitude\": \"51.482594\", \/\/ Geolocation -&gt; Latitude value\n        \"longitude\": \"-0.007661\", \/\/ Geolocation -&gt; Longitude value\n        \"accuracy\": \"1803.34\", \/\/ Geolocation -&gt; Accuracy(meter)\n        \"setWebBluetooth\": false, \/\/ Set Web Bluetooth API\n        \"setBluetoothAdapter\": false, \/\/ Bluetooth Adapter\n        \"speechSynthesis\": false, \/\/ Set SpeechSynthesis API\n        \"speechVoicesList\": { \/\/ Speech Voices List\uff08Enable\uff09\n            \"voiceURI\": &#91;\n                \"voiceURI value 1\", \/\/ string\n                \"voiceURI value 2\"\n            ],\n            \"name\": &#91;\n                \"name value 1\", \/\/ string\n                \"name value 2\"\n            ],\n            \"lang\": &#91;\n                \"lang value 1\", \/\/ string\n                \"lang value 2\"\n            ],\n            \"localService\": &#91;\n                false, \/\/ boolean\n                true\n            ],\n            \"default\": &#91;\n                true, \/\/ boolean\n                false\n            ]\n        },\n        \"unSpeechVoicesList\": { \/\/ Speech Voices List(Disable)\n            \"voiceURI\": &#91;\n                \"voiceURI value 3\"\n            ],\n            \"name\": &#91;\n                \"name value 3\"\n            ],\n            \"lang\": &#91;\n                \"lang value 3\"\n            ],\n            \"localService\": &#91;\n                true\n            ],\n            \"default\": &#91;\n                true\n            ]\n        },\n        \"speechVoicesRestoreDefault\": true \/\/ Speech Voices Restore Default\n    },\n    \"sslFingerprint\":{ \/\/ SSL fingerprint settings\n        \"enableCustomSSL\": true, \/\/ Enable custom SSL fingerprinting\n        \"versionMin\": 0, \/\/ SSL Version min  0:TLSv1    1:TLSv1.1    2:TLSv1.2    3:TLSv1.3\n        \"versionMax\": 1, \/\/ SSL Version max  0:TLSv1.2  1:TLSv1.3\n        \"cipherSuites\": {\n            \"TLS_AES_128_GCM_SHA256\": true,\n            \"TLS_AES_256_GCM_SHA384\": true,\n            \"TLS_CHACHA20_POLY1305_SHA256\": true,\n            \"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256\": true,\n            \"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256\": true,\n            \"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384\": true,\n            \"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384\": true,\n            \"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256\": true,\n            \"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256\": true,\n            \"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA\": true,\n            \"TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA\": true,\n            \"TLS_RSA_WITH_AES_128_GCM_SHA256\": true,\n            \"TLS_RSA_WITH_AES_256_GCM_SHA384\": true,\n            \"TLS_RSA_WITH_AES_128_CBC_SHA\": true,\n            \"TLS_RSA_WITH_AES_256_CBC_SHA\": true,\n            \"TLS_RSA_WITH_3DES_EDE_CBC_SHA\": false,\n            \"TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA\": false\n        }\n    },\n    \"otherProtection\": { \/\/ Other protection -&gt; Open port sacn protection\n        \"setPortScan\": true, \/\/ Other protection -&gt; Open port sacn protection\n        \"localPortsExclude\": \"8000,12345,42069\" \/\/ Other protection -&gt; Whitelist list of specific ports\n    },\n    \"header\": { \/\/ Header\n        \"setHeaderCustom\": true, \/\/ Header -&gt; Enable header customization\n        \"list\": { \/\/ Header -&gt; Header List\n            \"enable\": &#91;\n                false,\n                false,\n                true,\n                false\n            ],\n            \"name\": &#91;\n                \"name 1\",\n                \"name 2\",\n                \"name 3\",\n                \"name 4\"\n            ],\n            \"value\": &#91;\n                \"value 1\",\n                \"value 2\",\n                \"value 3\",\n                \"value 4\"\n            ],\n            \"urlMatch\": &#91;\n                \"urlMatch 1\",\n                \"urlMatch 2\",\n                \"urlMatch 3\",\n                \"urlMatch 4\"\n            ],\n            \"notExistAdd\": &#91;\n                true,\n                false,\n                false,\n                true\n            ]\n        }\n    },\n    \"tag\": \"group_name\" \/\/ Group Name\n}<\/code><\/pre>\n","protected":false},"featured_media":0,"parent":810,"menu_order":54,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-2559","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2559","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=2559"}],"version-history":[{"count":4,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2559\/revisions"}],"predecessor-version":[{"id":3457,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2559\/revisions\/3457"}],"up":[{"embeddable":true,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/810"}],"next":[{"title":"devicesOS List","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/devicesos-list\/","href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2562"}],"prev":[{"title":"API Test Proxy","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-test-proxy\/","href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/3481"}],"wp:attachment":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/media?parent=2559"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/doc_tag?post=2559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}