Path: /api/v1/user/create
Method: POST
Description: Create browser profiles, configuring account and password on platforms, cookie, proxy ID, proxy information, fingerprints and so on. Upon successful creation of a browser profile, profile ID will be returned.
Optional Body parameters can be omitted, and the parameter format is JSON.
Name | Type | Necessary | Default | Example | Description | Remarks |
---|---|---|---|---|---|---|
name | text | NO | - | user A | The name of the account, no more than 100 characters | |
domain_name | text | NO | - | facebook.com | Domain name of user’s account platform, such as facebook.com, amazon.com... Will open when clicking Open. | |
open_urls | list | NO | - | ["http://www.baidu.com","https://www.google.com"] | Other urls when opening browser. If leaving it empty, will open the domain name url. | |
repeat_config | list | NO | - | [2,3] | Account deduplication. Default setting: Allow duplication. 0: Allow duplication; 2: Deduplication based on the account name/password; 3: Deduplication based on cookie; 4: Deduplication based on c_user (c_user is a specific tag for Facebook) | |
username | text | NO | - | myusername | Fill in at least one of the following: username /password or cookie information. If username /password duplication is allowed, leave here empty. | |
password | text | NO | - | 123456 | Fill in at least one f the following: username /password or cookie information. If username /password duplication is allowed, leave here empty. | |
fakey | text | NO | - | xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx | Enter the 2FA-key.This applies to online 2FA code generator, which works similarly to authenticators. | |
cookie | text | NO | - | [ { "domain": ".baidu.com", "expirationDate": 1724188800, "name": "BAIDUID", "path": "/", "sameSite": "unspecified", "secure": true, "value": "xxxxxxxxxx", "id": 1 } ] | Fill in at least one of the following: username /password or cookie information. If username /password repeat is allowed, leave here empty. Format: JSON | |
ignore_cookie_error | text | NO | 0 | 1 | 0:When the cookie verification fails, the cookie format is incorrectly returned directly 1:When the cookie verification fails, filter out the data in the wrong format and keep the cookie in the correct format Only supports netspace | Should upgrade to V2.4.6.6 or above |
group_id | text | YES | - | 100 | Add to corresponding group. 0: Ungrouped | |
ip | text | NO | - | xxx.xxx.xxx.xxx | Proxy IP used for an account to log in. Fill in when proxy software is lumauto or oxylabs. | |
country | text | NO | - | us | Country or region your lumauto and oxylabs account belongs to.Without lumauto and oxylabs IP please enter country. | |
region | text | NO | - | xx | State or province where account logged in, optional. | |
city | text | NO | - | xx | City where account logged in, optional. | |
remark | text | NO | - | This is remark. | Remarks to describe accounts | |
ipchecker | text | NO | - | ip2location | IP query channel, support to determine ip2location, ipapi | Should upgrade to V2.6.3.8 or above |
sys_app_cate_id | text | NO | 0 | 82 | Passable application category ID, 0 for follow team application | Need to upgrade to version V2.6.6.5 and above |
user_proxy_config | userProxyConfig | Either one of the two fields, proxyid, is required. | - | {"proxy_type":"http","proxy_host":"123.0.0.1", "proxy_port":"12","proxy_user":"12", "proxy_password":"12","proxy_soft":"luminati"} | Account proxy configuration, for details please see parameter object userPorxyConfig | |
proxyid | text | Either user_proxy_config or user_proxy_config is required. | - | xxx | Can be passed proxy id or random (randomize a proxy) | |
fingerprint_config | fingerprintConfig | YES | - | {"automatic_timezone": "1","language": ["en-US","en"],"flash": "block","fonts": ["all"],"webrtc": "disabled", "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"} | Account fingerprint configuration, for details please see parameter object fingerprintConfig |
//Operation succeeded
{
"code": 0,
"data": {
"id":"xxxxxxx" //Unique ID after importing account
}
"msg": "Success"
}
//Operation failed
{
"code":-1,
"data":{},
"msg":"failed"
}