Create profile with partial parameters
curl --request POST \
--url https://api.gologin.com/browser/custom \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "My Test Profile",
"notes": "Temporary profile for testing",
"autoLang": true,
"imagesEnabled": true,
"mediaAutoplayEnabled": true,
"folderName": "<string>",
"os": "win",
"osSpec": "win11",
"devicePixelRatio": 1,
"dns": "8.8.8.8",
"timezone": {
"enabled": true,
"fillBasedOnIp": true,
"timezone": "America/New_York"
},
"audioContext": {
"mode": "noise",
"noise": 0.1
},
"canvas": {
"mode": "off",
"noise": 0.1
},
"webGL": {
"mode": "noise",
"getClientRectsNoise": 0.5,
"noise": 0.5
},
"clientRects": {
"mode": "noise",
"noise": 0.5
},
"webGLMetadata": {
"vendor": "Google Inc. (Intel)",
"renderer": "ANGLE (Intel, Intel(R) HD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11)",
"mode": "mask"
},
"chromeExtensions": [],
"userChromeExtensions": [],
"folders": [],
"createProxy": false,
"startUrl": "",
"storage": {
"local": true,
"extensions": true,
"bookmarks": true,
"history": true,
"passwords": true,
"session": true,
"indexedDb": false,
"enableExternalExtensions": false
}
}
'import requests
url = "https://api.gologin.com/browser/custom"
payload = {
"name": "My Test Profile",
"notes": "Temporary profile for testing",
"autoLang": True,
"imagesEnabled": True,
"mediaAutoplayEnabled": True,
"folderName": "<string>",
"os": "win",
"osSpec": "win11",
"devicePixelRatio": 1,
"dns": "8.8.8.8",
"timezone": {
"enabled": True,
"fillBasedOnIp": True,
"timezone": "America/New_York"
},
"audioContext": {
"mode": "noise",
"noise": 0.1
},
"canvas": {
"mode": "off",
"noise": 0.1
},
"webGL": {
"mode": "noise",
"getClientRectsNoise": 0.5,
"noise": 0.5
},
"clientRects": {
"mode": "noise",
"noise": 0.5
},
"webGLMetadata": {
"vendor": "Google Inc. (Intel)",
"renderer": "ANGLE (Intel, Intel(R) HD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11)",
"mode": "mask"
},
"chromeExtensions": [],
"userChromeExtensions": [],
"folders": [],
"createProxy": False,
"startUrl": "",
"storage": {
"local": True,
"extensions": True,
"bookmarks": True,
"history": True,
"passwords": True,
"session": True,
"indexedDb": False,
"enableExternalExtensions": False
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'My Test Profile',
notes: 'Temporary profile for testing',
autoLang: true,
imagesEnabled: true,
mediaAutoplayEnabled: true,
folderName: '<string>',
os: 'win',
osSpec: 'win11',
devicePixelRatio: 1,
dns: '8.8.8.8',
timezone: {enabled: true, fillBasedOnIp: true, timezone: 'America/New_York'},
audioContext: {mode: 'noise', noise: 0.1},
canvas: {mode: 'off', noise: 0.1},
webGL: {mode: 'noise', getClientRectsNoise: 0.5, noise: 0.5},
clientRects: {mode: 'noise', noise: 0.5},
webGLMetadata: {
vendor: 'Google Inc. (Intel)',
renderer: 'ANGLE (Intel, Intel(R) HD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11)',
mode: 'mask'
},
chromeExtensions: [],
userChromeExtensions: [],
folders: [],
createProxy: false,
startUrl: '',
storage: {
local: true,
extensions: true,
bookmarks: true,
history: true,
passwords: true,
session: true,
indexedDb: false,
enableExternalExtensions: false
}
})
};
fetch('https://api.gologin.com/browser/custom', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.gologin.com/browser/custom",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'My Test Profile',
'notes' => 'Temporary profile for testing',
'autoLang' => true,
'imagesEnabled' => true,
'mediaAutoplayEnabled' => true,
'folderName' => '<string>',
'os' => 'win',
'osSpec' => 'win11',
'devicePixelRatio' => 1,
'dns' => '8.8.8.8',
'timezone' => [
'enabled' => true,
'fillBasedOnIp' => true,
'timezone' => 'America/New_York'
],
'audioContext' => [
'mode' => 'noise',
'noise' => 0.1
],
'canvas' => [
'mode' => 'off',
'noise' => 0.1
],
'webGL' => [
'mode' => 'noise',
'getClientRectsNoise' => 0.5,
'noise' => 0.5
],
'clientRects' => [
'mode' => 'noise',
'noise' => 0.5
],
'webGLMetadata' => [
'vendor' => 'Google Inc. (Intel)',
'renderer' => 'ANGLE (Intel, Intel(R) HD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11)',
'mode' => 'mask'
],
'chromeExtensions' => [
],
'userChromeExtensions' => [
],
'folders' => [
],
'createProxy' => false,
'startUrl' => '',
'storage' => [
'local' => true,
'extensions' => true,
'bookmarks' => true,
'history' => true,
'passwords' => true,
'session' => true,
'indexedDb' => false,
'enableExternalExtensions' => false
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.gologin.com/browser/custom"
payload := strings.NewReader("{\n \"name\": \"My Test Profile\",\n \"notes\": \"Temporary profile for testing\",\n \"autoLang\": true,\n \"imagesEnabled\": true,\n \"mediaAutoplayEnabled\": true,\n \"folderName\": \"<string>\",\n \"os\": \"win\",\n \"osSpec\": \"win11\",\n \"devicePixelRatio\": 1,\n \"dns\": \"8.8.8.8\",\n \"timezone\": {\n \"enabled\": true,\n \"fillBasedOnIp\": true,\n \"timezone\": \"America/New_York\"\n },\n \"audioContext\": {\n \"mode\": \"noise\",\n \"noise\": 0.1\n },\n \"canvas\": {\n \"mode\": \"off\",\n \"noise\": 0.1\n },\n \"webGL\": {\n \"mode\": \"noise\",\n \"getClientRectsNoise\": 0.5,\n \"noise\": 0.5\n },\n \"clientRects\": {\n \"mode\": \"noise\",\n \"noise\": 0.5\n },\n \"webGLMetadata\": {\n \"vendor\": \"Google Inc. (Intel)\",\n \"renderer\": \"ANGLE (Intel, Intel(R) HD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11)\",\n \"mode\": \"mask\"\n },\n \"chromeExtensions\": [],\n \"userChromeExtensions\": [],\n \"folders\": [],\n \"createProxy\": false,\n \"startUrl\": \"\",\n \"storage\": {\n \"local\": true,\n \"extensions\": true,\n \"bookmarks\": true,\n \"history\": true,\n \"passwords\": true,\n \"session\": true,\n \"indexedDb\": false,\n \"enableExternalExtensions\": false\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.gologin.com/browser/custom")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"My Test Profile\",\n \"notes\": \"Temporary profile for testing\",\n \"autoLang\": true,\n \"imagesEnabled\": true,\n \"mediaAutoplayEnabled\": true,\n \"folderName\": \"<string>\",\n \"os\": \"win\",\n \"osSpec\": \"win11\",\n \"devicePixelRatio\": 1,\n \"dns\": \"8.8.8.8\",\n \"timezone\": {\n \"enabled\": true,\n \"fillBasedOnIp\": true,\n \"timezone\": \"America/New_York\"\n },\n \"audioContext\": {\n \"mode\": \"noise\",\n \"noise\": 0.1\n },\n \"canvas\": {\n \"mode\": \"off\",\n \"noise\": 0.1\n },\n \"webGL\": {\n \"mode\": \"noise\",\n \"getClientRectsNoise\": 0.5,\n \"noise\": 0.5\n },\n \"clientRects\": {\n \"mode\": \"noise\",\n \"noise\": 0.5\n },\n \"webGLMetadata\": {\n \"vendor\": \"Google Inc. (Intel)\",\n \"renderer\": \"ANGLE (Intel, Intel(R) HD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11)\",\n \"mode\": \"mask\"\n },\n \"chromeExtensions\": [],\n \"userChromeExtensions\": [],\n \"folders\": [],\n \"createProxy\": false,\n \"startUrl\": \"\",\n \"storage\": {\n \"local\": true,\n \"extensions\": true,\n \"bookmarks\": true,\n \"history\": true,\n \"passwords\": true,\n \"session\": true,\n \"indexedDb\": false,\n \"enableExternalExtensions\": false\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gologin.com/browser/custom")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"My Test Profile\",\n \"notes\": \"Temporary profile for testing\",\n \"autoLang\": true,\n \"imagesEnabled\": true,\n \"mediaAutoplayEnabled\": true,\n \"folderName\": \"<string>\",\n \"os\": \"win\",\n \"osSpec\": \"win11\",\n \"devicePixelRatio\": 1,\n \"dns\": \"8.8.8.8\",\n \"timezone\": {\n \"enabled\": true,\n \"fillBasedOnIp\": true,\n \"timezone\": \"America/New_York\"\n },\n \"audioContext\": {\n \"mode\": \"noise\",\n \"noise\": 0.1\n },\n \"canvas\": {\n \"mode\": \"off\",\n \"noise\": 0.1\n },\n \"webGL\": {\n \"mode\": \"noise\",\n \"getClientRectsNoise\": 0.5,\n \"noise\": 0.5\n },\n \"clientRects\": {\n \"mode\": \"noise\",\n \"noise\": 0.5\n },\n \"webGLMetadata\": {\n \"vendor\": \"Google Inc. (Intel)\",\n \"renderer\": \"ANGLE (Intel, Intel(R) HD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11)\",\n \"mode\": \"mask\"\n },\n \"chromeExtensions\": [],\n \"userChromeExtensions\": [],\n \"folders\": [],\n \"createProxy\": false,\n \"startUrl\": \"\",\n \"storage\": {\n \"local\": true,\n \"extensions\": true,\n \"bookmarks\": true,\n \"history\": true,\n \"passwords\": true,\n \"session\": true,\n \"indexedDb\": false,\n \"enableExternalExtensions\": false\n }\n}"
response = http.request(request)
puts response.read_body{
"name": "<string>",
"role": "<string>",
"id": "<string>",
"notes": "<string>",
"browserType": "<string>",
"lockEnabled": true,
"timezone": {},
"navigator": {
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.6998.36 Safari/537.36",
"resolution": "1920x1080",
"language": "en-US",
"platform": "Win32",
"hardwareConcurrency": 4,
"deviceMemory": 4,
"maxTouchPoints": 10
},
"geolocation": {},
"debugMode": true,
"canBeRunning": true,
"isRunning": true,
"proxy": {},
"proxyType": "<string>",
"proxyRegion": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"lastActivity": "2023-11-07T05:31:56Z",
"userChromeExtensions": [
"<string>"
],
"permissions": {
"transferProfile": true,
"transferToMyWorkspace": true,
"shareProfile": true,
"manageFolders": true,
"editProfile": true,
"deleteProfile": true,
"cloneProfile": true,
"exportProfile": true,
"updateUA": true,
"addVpnUfoProxy": true,
"runProfile": true,
"runProfileWeb": true,
"viewProfile": true,
"addProfileTag": true,
"removeProfileTag": true,
"viewShareLinks": true,
"createShareLinks": true,
"updateShareLinks": true,
"deleteShareLinks": true,
"viewCustomExtensions": true
},
"remoteOrbitaUrl": "<string>",
"webGLMetadata": {
"vendor": "Google Inc. (Intel)",
"renderer": "ANGLE (Intel, Intel(R) HD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11)",
"mode": "mask"
},
"isM1": true,
"isPinned": true,
"updateUALastChosenBrowserV": "<string>",
"runningUserEmail": "<string>",
"isRunDisabled": true,
"runDisabledReason": "unpaid-share",
"isWeb": true,
"os": {},
"osSpec": {},
"host": "<string>",
"port": 123,
"status": "<string>",
"folders": [
"<string>"
],
"sharedEmails": [
"<string>"
],
"shareId": "<string>",
"chromeExtensions": [
"<string>"
],
"tags": [
"<string>"
],
"proxyEnabled": true,
"isAutoGenerated": true,
"isBookmarksSynced": true,
"defaultProps": {
"profileNameIsDefault": true,
"profileNotesIsDefault": true
},
"autoLang": true,
"fonts": {
"families": [
"Arial",
"Helvetica",
"Verdana"
],
"enableMasking": true,
"enableDomRect": true
},
"facebookAccountData": {
"date": "<string>",
"token": "<string>",
"fbIdAccount": "<string>",
"email": "<string>",
"password": "<string>",
"googleDriveUrl": "<string>",
"fb2faToolUrl": "<string>",
"fbUrl": "<string>",
"uaVersion": "<string>",
"cookies": "<string>",
"notParsedData": [
"<string>"
]
},
"order": 123
}Profile
Create profile with partial parameters
Creates a new profile - here you can specify particular parameters for the profile. Unspecified parameters will be calculated randomly.
POST
/
browser
/
custom
Create profile with partial parameters
curl --request POST \
--url https://api.gologin.com/browser/custom \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "My Test Profile",
"notes": "Temporary profile for testing",
"autoLang": true,
"imagesEnabled": true,
"mediaAutoplayEnabled": true,
"folderName": "<string>",
"os": "win",
"osSpec": "win11",
"devicePixelRatio": 1,
"dns": "8.8.8.8",
"timezone": {
"enabled": true,
"fillBasedOnIp": true,
"timezone": "America/New_York"
},
"audioContext": {
"mode": "noise",
"noise": 0.1
},
"canvas": {
"mode": "off",
"noise": 0.1
},
"webGL": {
"mode": "noise",
"getClientRectsNoise": 0.5,
"noise": 0.5
},
"clientRects": {
"mode": "noise",
"noise": 0.5
},
"webGLMetadata": {
"vendor": "Google Inc. (Intel)",
"renderer": "ANGLE (Intel, Intel(R) HD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11)",
"mode": "mask"
},
"chromeExtensions": [],
"userChromeExtensions": [],
"folders": [],
"createProxy": false,
"startUrl": "",
"storage": {
"local": true,
"extensions": true,
"bookmarks": true,
"history": true,
"passwords": true,
"session": true,
"indexedDb": false,
"enableExternalExtensions": false
}
}
'import requests
url = "https://api.gologin.com/browser/custom"
payload = {
"name": "My Test Profile",
"notes": "Temporary profile for testing",
"autoLang": True,
"imagesEnabled": True,
"mediaAutoplayEnabled": True,
"folderName": "<string>",
"os": "win",
"osSpec": "win11",
"devicePixelRatio": 1,
"dns": "8.8.8.8",
"timezone": {
"enabled": True,
"fillBasedOnIp": True,
"timezone": "America/New_York"
},
"audioContext": {
"mode": "noise",
"noise": 0.1
},
"canvas": {
"mode": "off",
"noise": 0.1
},
"webGL": {
"mode": "noise",
"getClientRectsNoise": 0.5,
"noise": 0.5
},
"clientRects": {
"mode": "noise",
"noise": 0.5
},
"webGLMetadata": {
"vendor": "Google Inc. (Intel)",
"renderer": "ANGLE (Intel, Intel(R) HD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11)",
"mode": "mask"
},
"chromeExtensions": [],
"userChromeExtensions": [],
"folders": [],
"createProxy": False,
"startUrl": "",
"storage": {
"local": True,
"extensions": True,
"bookmarks": True,
"history": True,
"passwords": True,
"session": True,
"indexedDb": False,
"enableExternalExtensions": False
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'My Test Profile',
notes: 'Temporary profile for testing',
autoLang: true,
imagesEnabled: true,
mediaAutoplayEnabled: true,
folderName: '<string>',
os: 'win',
osSpec: 'win11',
devicePixelRatio: 1,
dns: '8.8.8.8',
timezone: {enabled: true, fillBasedOnIp: true, timezone: 'America/New_York'},
audioContext: {mode: 'noise', noise: 0.1},
canvas: {mode: 'off', noise: 0.1},
webGL: {mode: 'noise', getClientRectsNoise: 0.5, noise: 0.5},
clientRects: {mode: 'noise', noise: 0.5},
webGLMetadata: {
vendor: 'Google Inc. (Intel)',
renderer: 'ANGLE (Intel, Intel(R) HD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11)',
mode: 'mask'
},
chromeExtensions: [],
userChromeExtensions: [],
folders: [],
createProxy: false,
startUrl: '',
storage: {
local: true,
extensions: true,
bookmarks: true,
history: true,
passwords: true,
session: true,
indexedDb: false,
enableExternalExtensions: false
}
})
};
fetch('https://api.gologin.com/browser/custom', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.gologin.com/browser/custom",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'My Test Profile',
'notes' => 'Temporary profile for testing',
'autoLang' => true,
'imagesEnabled' => true,
'mediaAutoplayEnabled' => true,
'folderName' => '<string>',
'os' => 'win',
'osSpec' => 'win11',
'devicePixelRatio' => 1,
'dns' => '8.8.8.8',
'timezone' => [
'enabled' => true,
'fillBasedOnIp' => true,
'timezone' => 'America/New_York'
],
'audioContext' => [
'mode' => 'noise',
'noise' => 0.1
],
'canvas' => [
'mode' => 'off',
'noise' => 0.1
],
'webGL' => [
'mode' => 'noise',
'getClientRectsNoise' => 0.5,
'noise' => 0.5
],
'clientRects' => [
'mode' => 'noise',
'noise' => 0.5
],
'webGLMetadata' => [
'vendor' => 'Google Inc. (Intel)',
'renderer' => 'ANGLE (Intel, Intel(R) HD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11)',
'mode' => 'mask'
],
'chromeExtensions' => [
],
'userChromeExtensions' => [
],
'folders' => [
],
'createProxy' => false,
'startUrl' => '',
'storage' => [
'local' => true,
'extensions' => true,
'bookmarks' => true,
'history' => true,
'passwords' => true,
'session' => true,
'indexedDb' => false,
'enableExternalExtensions' => false
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.gologin.com/browser/custom"
payload := strings.NewReader("{\n \"name\": \"My Test Profile\",\n \"notes\": \"Temporary profile for testing\",\n \"autoLang\": true,\n \"imagesEnabled\": true,\n \"mediaAutoplayEnabled\": true,\n \"folderName\": \"<string>\",\n \"os\": \"win\",\n \"osSpec\": \"win11\",\n \"devicePixelRatio\": 1,\n \"dns\": \"8.8.8.8\",\n \"timezone\": {\n \"enabled\": true,\n \"fillBasedOnIp\": true,\n \"timezone\": \"America/New_York\"\n },\n \"audioContext\": {\n \"mode\": \"noise\",\n \"noise\": 0.1\n },\n \"canvas\": {\n \"mode\": \"off\",\n \"noise\": 0.1\n },\n \"webGL\": {\n \"mode\": \"noise\",\n \"getClientRectsNoise\": 0.5,\n \"noise\": 0.5\n },\n \"clientRects\": {\n \"mode\": \"noise\",\n \"noise\": 0.5\n },\n \"webGLMetadata\": {\n \"vendor\": \"Google Inc. (Intel)\",\n \"renderer\": \"ANGLE (Intel, Intel(R) HD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11)\",\n \"mode\": \"mask\"\n },\n \"chromeExtensions\": [],\n \"userChromeExtensions\": [],\n \"folders\": [],\n \"createProxy\": false,\n \"startUrl\": \"\",\n \"storage\": {\n \"local\": true,\n \"extensions\": true,\n \"bookmarks\": true,\n \"history\": true,\n \"passwords\": true,\n \"session\": true,\n \"indexedDb\": false,\n \"enableExternalExtensions\": false\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.gologin.com/browser/custom")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"My Test Profile\",\n \"notes\": \"Temporary profile for testing\",\n \"autoLang\": true,\n \"imagesEnabled\": true,\n \"mediaAutoplayEnabled\": true,\n \"folderName\": \"<string>\",\n \"os\": \"win\",\n \"osSpec\": \"win11\",\n \"devicePixelRatio\": 1,\n \"dns\": \"8.8.8.8\",\n \"timezone\": {\n \"enabled\": true,\n \"fillBasedOnIp\": true,\n \"timezone\": \"America/New_York\"\n },\n \"audioContext\": {\n \"mode\": \"noise\",\n \"noise\": 0.1\n },\n \"canvas\": {\n \"mode\": \"off\",\n \"noise\": 0.1\n },\n \"webGL\": {\n \"mode\": \"noise\",\n \"getClientRectsNoise\": 0.5,\n \"noise\": 0.5\n },\n \"clientRects\": {\n \"mode\": \"noise\",\n \"noise\": 0.5\n },\n \"webGLMetadata\": {\n \"vendor\": \"Google Inc. (Intel)\",\n \"renderer\": \"ANGLE (Intel, Intel(R) HD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11)\",\n \"mode\": \"mask\"\n },\n \"chromeExtensions\": [],\n \"userChromeExtensions\": [],\n \"folders\": [],\n \"createProxy\": false,\n \"startUrl\": \"\",\n \"storage\": {\n \"local\": true,\n \"extensions\": true,\n \"bookmarks\": true,\n \"history\": true,\n \"passwords\": true,\n \"session\": true,\n \"indexedDb\": false,\n \"enableExternalExtensions\": false\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gologin.com/browser/custom")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"My Test Profile\",\n \"notes\": \"Temporary profile for testing\",\n \"autoLang\": true,\n \"imagesEnabled\": true,\n \"mediaAutoplayEnabled\": true,\n \"folderName\": \"<string>\",\n \"os\": \"win\",\n \"osSpec\": \"win11\",\n \"devicePixelRatio\": 1,\n \"dns\": \"8.8.8.8\",\n \"timezone\": {\n \"enabled\": true,\n \"fillBasedOnIp\": true,\n \"timezone\": \"America/New_York\"\n },\n \"audioContext\": {\n \"mode\": \"noise\",\n \"noise\": 0.1\n },\n \"canvas\": {\n \"mode\": \"off\",\n \"noise\": 0.1\n },\n \"webGL\": {\n \"mode\": \"noise\",\n \"getClientRectsNoise\": 0.5,\n \"noise\": 0.5\n },\n \"clientRects\": {\n \"mode\": \"noise\",\n \"noise\": 0.5\n },\n \"webGLMetadata\": {\n \"vendor\": \"Google Inc. (Intel)\",\n \"renderer\": \"ANGLE (Intel, Intel(R) HD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11)\",\n \"mode\": \"mask\"\n },\n \"chromeExtensions\": [],\n \"userChromeExtensions\": [],\n \"folders\": [],\n \"createProxy\": false,\n \"startUrl\": \"\",\n \"storage\": {\n \"local\": true,\n \"extensions\": true,\n \"bookmarks\": true,\n \"history\": true,\n \"passwords\": true,\n \"session\": true,\n \"indexedDb\": false,\n \"enableExternalExtensions\": false\n }\n}"
response = http.request(request)
puts response.read_body{
"name": "<string>",
"role": "<string>",
"id": "<string>",
"notes": "<string>",
"browserType": "<string>",
"lockEnabled": true,
"timezone": {},
"navigator": {
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.6998.36 Safari/537.36",
"resolution": "1920x1080",
"language": "en-US",
"platform": "Win32",
"hardwareConcurrency": 4,
"deviceMemory": 4,
"maxTouchPoints": 10
},
"geolocation": {},
"debugMode": true,
"canBeRunning": true,
"isRunning": true,
"proxy": {},
"proxyType": "<string>",
"proxyRegion": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"lastActivity": "2023-11-07T05:31:56Z",
"userChromeExtensions": [
"<string>"
],
"permissions": {
"transferProfile": true,
"transferToMyWorkspace": true,
"shareProfile": true,
"manageFolders": true,
"editProfile": true,
"deleteProfile": true,
"cloneProfile": true,
"exportProfile": true,
"updateUA": true,
"addVpnUfoProxy": true,
"runProfile": true,
"runProfileWeb": true,
"viewProfile": true,
"addProfileTag": true,
"removeProfileTag": true,
"viewShareLinks": true,
"createShareLinks": true,
"updateShareLinks": true,
"deleteShareLinks": true,
"viewCustomExtensions": true
},
"remoteOrbitaUrl": "<string>",
"webGLMetadata": {
"vendor": "Google Inc. (Intel)",
"renderer": "ANGLE (Intel, Intel(R) HD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11)",
"mode": "mask"
},
"isM1": true,
"isPinned": true,
"updateUALastChosenBrowserV": "<string>",
"runningUserEmail": "<string>",
"isRunDisabled": true,
"runDisabledReason": "unpaid-share",
"isWeb": true,
"os": {},
"osSpec": {},
"host": "<string>",
"port": 123,
"status": "<string>",
"folders": [
"<string>"
],
"sharedEmails": [
"<string>"
],
"shareId": "<string>",
"chromeExtensions": [
"<string>"
],
"tags": [
"<string>"
],
"proxyEnabled": true,
"isAutoGenerated": true,
"isBookmarksSynced": true,
"defaultProps": {
"profileNameIsDefault": true,
"profileNotesIsDefault": true
},
"autoLang": true,
"fonts": {
"families": [
"Arial",
"Helvetica",
"Verdana"
],
"enableMasking": true,
"enableDomRect": true
},
"facebookAccountData": {
"date": "<string>",
"token": "<string>",
"fbIdAccount": "<string>",
"email": "<string>",
"password": "<string>",
"googleDriveUrl": "<string>",
"fb2faToolUrl": "<string>",
"fbUrl": "<string>",
"uaVersion": "<string>",
"cookies": "<string>",
"notParsedData": [
"<string>"
]
},
"order": 123
}Authorizations
bearerbearer
Body
application/json
Response
200 - application/json
Was this page helpful?