> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update contacts

> Replace the contacts for a table item by field key.

Replace the entire contact collection for a specific table item and field key.

## Overview

| | |
| - | - |
| Method | `PATCH` |
| Path | `/api/v2/websets/{websetId}/items/{itemId}/contacts/{fieldKey}` |
| Permission | `prospects.contacts:write` |
| Idempotency | Required via `Idempotency-Key` header |
| Returns | Updated contact collection |

## Path parameters

**websetId** `string` *required*

Table UUID.

**itemId** `string` *required*

Row UUID.

**fieldKey** `string` *required*

Contact field key.

### Supported field keys

* `imported_contacts`
* `snovio_key_contacts`
* `company_social_contacts`
* Custom contact column keys (discover with `/research/columns`)

## Request body

**contacts** `object[]` *required*

Array of contact objects.

```json Request body theme={null}
{
  "contacts": [
    {
      "full_name": "Alex",
      "title": "Sales",
      "email": ["alex@example.com"]
    }
  ]
}
```

> [!WARNING]
>
> PATCH replaces the entire contact collection for that field. Pass `[]` to explicitly clear contacts. Preserve other contacts and stable `id` or `contact_key` values.

## Contact field formats by source

> [accordion] Snovio contacts
>
> * `email`
> * `firstName`
> * `lastName`
> * `fullName`
> * `position`
> * `linkedin`
> * `status`

> [accordion] Other sources
>
> * `id`
> * `contact_key`
> * `contact_kind`
> * `full_name`
> * `title`
> * `company_name`
>
> Channels support strings or arrays of strings.

> [accordion] Channel support by source
>
> * **imported\_contacts** - `email`, `whatsapp`, `phone`, `linkedin`
> * **website contacts** - `email`, `whatsapp`, `phone`
> * **custom contact columns** - `email`, `whatsapp`, `phone`, `linkedin`, `facebook`, `instagram`, `custom`

Unsupported fields are rejected. Read responses contain `contacts` and `channels` linked by `contact_id`.

> [!TIP]
>
> Saving contacts triggers asynchronous target pool synchronization. The sync completion time is not the same as the API response time.

```bash cURL theme={null}
curl -X PATCH "https://revor.ai/api/v2/websets/{websetId}/items/{itemId}/contacts/snovio_key_contacts" \
  -H "Authorization: Bearer sk-revor-REPLACE_ME" \
  -H "Idempotency-Key: contacts-update-001" \
  -H "Content-Type: application/json" \
  -d '{
    "contacts": [
      {
        "full_name": "Alex",
        "title": "Sales",
        "email": ["alex@example.com"]
      }
    ]
  }'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.