> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# Define a contact attribute

POST`/workspace/{orgId}/contact-attributes`

A key (lower-case letters, digits and underscores), a type and an optional label. Safe to repeat with the same type; another type for an existing key is a 409. Owners and admins.

## Path Parameters

`orgId`

numberrequired

## Response

201

**cURL**

```bash
curl --request POST \
  --url 'https://api.workover.io/workspace/{orgId}/contact-attributes'
```

**JavaScript**

```javascript
const options = {
  method: 'POST'
};

fetch('https://api.workover.io/workspace/{orgId}/contact-attributes', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/workspace/{orgId}/contact-attributes"

response = requests.post(url)

print(response.text)
```
