# Agent add

Agents add API in you can create a new agent in your dashboard. Body parameter in **`"role"`** two types available first **`Administrator`** and second **`Operator`**. if you agent role make Administrator then pass **`1`** else pass **`2`** for Operator.

| Parameter     | Value                                           |
| ------------- | ----------------------------------------------- |
| Path          | <https://app.acquire.io/api/account/agents/add> |
| Method        | POST                                            |
| Authorization | Bearer **`[YOUR_API_AUTH_TOKEN]`**              |
| Content-type  | application/x-www-form-urlencoded               |

#### **Body (urlencoded)**

| Parameter | Value                                                   |
| --------- | ------------------------------------------------------- |
| role      | 1/2 (**`Administrator`** = 1 O&#x72;**`Operator`** = 2) |
| name      | david                                                   |
| email     | <devidklok@acquire.io>                                  |
| password  | 1234567                                                 |
| status    | active/disable                                          |

#### Response JSON

```javascript
{
    "success": true,
    "error": null,
    "data": "Agent save successfully."
}
```


---

# 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://developer.acquire.io/master/rest-apis/agent/agent-add.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.
