# Create campaign

### **Example Request** <a href="#example-request-1" id="example-request-1"></a>

<table><thead><tr><th width="145">Method</th><th>URL</th></tr></thead><tbody><tr><td>POST</td><td><a href="http://localhost:2222/automation/campaign">http://localhost:2222/automation/campaign</a></td></tr></tbody></table>

### Body <a href="#params" id="params"></a>

```
{
    "script_id": 31539, //Use List script api to get script ID (key)
    "name": "Campaign - Reg Etsy Bằng Gmail",
    "script_name": "Reg Etsy Bằng Gmail",
    "script_key": "2pF5e8h7290724084332",  //required field. Use List script api to get key2
    "settings": {
        "automationProcess": 10,
        "delayOpen": 2,
        "isScreenArrangement": true,  //true or false
        "arrangementLayoutCol": 2,
        "arrangementLayoutRow": 3,
        "autoScaleScreen": true,    //true or false
        "screenScalePercent": 25,
        "isSetWindowSize": false,   //true or false
        "screenSize": "1280x1030",
        "profilePerWorker": 10,
        "writeLogs": true,
        "isEnableStealthPlugin": false,
        "isNotOverlapProfile": false,
        "closeProfileOnComplete": true
    }
}
```

### **Example Response** <a href="#id-3.-example-response" id="id-3.-example-response"></a>

```

{
    //content
}
```


---

# 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.hidemium.io/hidemium-4/i.-bat-dau-voi-hidemium/api-automation-v4/campaign/create-campaign.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.
