# 3. Run Profile

### <mark style="background-color:yellow;">Open</mark> <mark style="background-color:yellow;"></mark><mark style="background-color:yellow;">**Profile**</mark>

```
POST http://127.0.0.1:12368/profiles/start/:id
```

### <mark style="background-color:yellow;">Examples</mark>

* Curl example

```
curl -X POST http://127.0.0.1:12368/profiles/start/615d6c4b2a151505fe6ba060
```

* Javascript example

```
const hidemyacc = new Hidemyacc();
const user = await hidemyacc.start("615d6c4b2a151505fe6ba060");
```

### <mark style="background-color:yellow;">Success response</mark>

**Success response - `Success 200`**

| Name  | Type     | Description                 |
| ----- | -------- | --------------------------- |
| port  | `Number` | PORT auto                   |
| wsUrl | `String` | Used to integrate Puppeteer |

### <mark style="background-color:yellow;">Success response example</mark>

**Success response example - `Success-Example`**

```
HTTP/1.1 200 OK
    {
    "code": 1,
    "data": {
            "port": 22881,
            "wsUrl": "ws://127.0.0.1:22881/devtools/browser/bb79645f-eb15-441e-811d-c38b36a13111"
        }
    }
```

### <mark style="background-color:yellow;">Error response</mark>

**Error response - `Error 4xx`**

| Name | Type | Description             |
| ---- | ---- | ----------------------- |
| 401  |      | Not logged into account |

### <mark style="background-color:yellow;">Error response example</mark>

**Error response example - `Response (example):`**

```
HTTP/1.1 401 Not Authenticated
{
  "code": 0,
  "message": "Unauthorized",
  "data": {}
}
```
