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

# Identify a contact

POST`/workspace/{orgId}/contacts/identify`

Create or update one contact by its externalId or email (at least one), with a name and attributes. A new attribute key is defined with the type its value shows. `subscriptions` ({"topics": {"newsletter": true}, "unsubscribedAll": false}) sets topic choices in the same write, each logged in the consent log. Safe to repeat: the same body again answers changed false. Owners and admins.

## Path Parameters

`orgId`

numberrequired

## Response

200

**cURL**

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

**JavaScript**

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

fetch('https://api.workover.io/workspace/{orgId}/contacts/identify', 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}/contacts/identify"

response = requests.post(url)

print(response.text)
```
