Start Profile

Start Profile

POST http://127.0.0.1:2268/profiles/start/:profileID

Example

  • Curl example

curl -X POST http://127.0.0.1:2268/profiles/start/:profileID
  • Javascript example

const hidemyacc = new Hidemyacc();
const response= await hidemyacc.start("652e8e982293bc496ec38ecb");

Note: In Hidemyacc 3.0 you can adjust proxy when starting profiles.

{
    "proxy": "{\"host\":\"127.0.0.1\",\"mode\":\"http\",\"password\":\"d92913ab\",\"port\":26951,\"username\":\"nguyenmanhtien.bh\"}",
    "params": "--disable-gpu --window-size=800,600 --window-position=100,100"
}

Success response

Success response - Success 200

Success response example

Success response example - Success-Example

Status code: 200 OK
{
    "code": 1,
    "data": {
        "success": true,
        "port": 27999,
        "wsUrl": "ws://127.0.0.1:27999/devtools/browser/23b9ca53-5e90-4977-99a9-30a95b0c03f5",
        "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36",
        "majorVersion": 113
    }
}

Error response

Error response - Error 4xx

Error response example

Error response example - Response (example):

Status code 402: Payment required
{
    "code": 0
}

Last updated