# 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": {}
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hidemyacc.com/hidemyacc-2.0-instructions/hidemyacc-api/profile/3.-run-profile.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
