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

# Update a contact view

> Change a view's name, filters or sort.

Every plan can use this endpoint. Send at least one field. `filters` replaces the whole list, and each filter is checked the same way as on [create](https://docs.nedzo.ai/api-reference/contacts/views/create.md#filters).

## Path Parameters

**viewId** `string` *required*

View UUID

## Body

**name** `string`

The new name, 1 to 100 characters after trimming.

**filters** `object[]`

Up to 50 filters. See [Filters](https://docs.nedzo.ai/api-reference/contacts/views/create.md#filters).

**sort** `object`

`{ "key", "direction" }`, where `direction` is `asc` or `desc`. Send `null` for the default order.

```bash cURL theme={null}
curl -X PATCH "https://api.nedzo.ai/v1/contacts/views/4d3c2b1a-5e6f-4a7b-8c9d-0e1f2a3b4c5d" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "VIP leads (new)", "sort": null }'
```

```json Response theme={null}
{
  "id": "4d3c2b1a-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "workspaceId": "789e4567-e89b-12d3-a456-426614174000",
  "name": "VIP leads (new)",
  "filters": [{ "id": "flt_1", "fieldKey": "tags", "operator": "all_of", "value": "vip" }],
  "sort": null,
  "creatorName": null,
  "createdAt": "2026-10-11T12:00:00Z",
  "updatedAt": "2026-10-12T09:00:00Z"
}
```

## Errors

| Status | When |
| - | - |
| `400` | `viewId` is not a UUID, the body is empty (`Nothing to update`), `name` is empty or longer than 100 characters, there are more than 50 filters, a filter breaks a rule in [Filters](https://docs.nedzo.ai/api-reference/contacts/views/create.md#filters), or `sort` is not `{ "key", "direction" }` or `null`. |
| `404` | No view has this id, or it is not in this key's scope. |


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