> For the complete documentation index, see [llms.txt](https://developer.acquire.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.acquire.io/rest-apis/settings/account-settings/custom-attributes/add-a-custom-attribute.md).

# Add a custom attribute

## Add Custom Attribute

<mark style="color:green;">`POST`</mark> `https://{{account_id}}.acquire.io/api/v1/crm/objects/object-field`

API to add new custom attribute to the list of custom attributes. An object must be passed in to the body of the request.\
&#x20;

#### Headers

| Name          | Type   | Description         |
| ------------- | ------ | ------------------- |
| Authorization | string | Bearer {{api\_key}} |

#### Request Body

| Name   | Type   | Description                                      |
| ------ | ------ | ------------------------------------------------ |
| object | string | The object that the custom attribute will map to |
| type   | string | The type of custom attribute                     |
| key    | string | Name and key of custom attribute                 |
| object | object | Body object                                      |

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

```
{
  "data": {
    "object": "string",
    "key": "string",
    "type": "text",
    "config": {},
    "system": "string",
    "id": 35
  }
}
```

{% endtab %}
{% endtabs %}

## Body(raw)

```
{
  "object": "string",
  "key": "string",
  "type": "text",
  "config": {},
  "system": "string"
}
```
