# Add

## Add

<mark style="color:green;">`POST`</mark> `https://{{account_id}}.acquire.io/api/v1/account/role`

Add a new role. The body must contain the keys `roleName` and `permissions`.&#x20;

#### Headers

| Name          | Type   | Description         |
| ------------- | ------ | ------------------- |
| Authorization | string | Bearer {{API\_KEY}} |

#### Request Body

| Name        | Type   | Description                                                             |
| ----------- | ------ | ----------------------------------------------------------------------- |
| permissions | object | Permissions object. Give permission to access features in the platform. |
| roleName    | string | Name of the role                                                        |

{% tabs %}
{% tab title="200 " %}

```
{
  "data": {
    "roleName": "MyMaster",
    "meta": {},
    "permissionType": {},
    "id": 3
  }
}
```

{% endtab %}
{% endtabs %}

## Body(raw)

```
{
    "roleName" : "Agent",
    "permissions" : {
        "chat": ["cobrowse"]
    }
}
```
