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

# Update contact list

> Update contact list name or metadata

Updates an existing contact list.

### Path parameters

<ParamField path="id" type="string" required>
  The unique UUID of the contact list to update.
</ParamField>

### Body parameters

<ParamField body="name" type="string">
  New name for the contact list (must remain unique across tenant).
</ParamField>

<ParamField body="metadata" type="object">
  Updated arbitrary key-value metadata.
</ParamField>

<CodeGroup>
  ```bash curl theme={null}
  curl -X PATCH https://api.agentic-os.com/api/v1/contact-lists/33333333-3333-3333-3333-333333333333 \
    -H "Authorization: Bearer $AGENTIC_OS_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "name": "Q3 Target Leads — Qualified"
    }'
  ```

  ```python Python theme={null}
  import requests

  response = requests.patch(
      "https://api.agentic-os.com/api/v1/contact-lists/33333333-3333-3333-3333-333333333333",
      headers={
          "Authorization": f"Bearer {API_KEY}",
          "Content-Type": "application/json",
      },
      json={"name": "Q3 Target Leads — Qualified"},
  )
  print(response.json())
  ```

  ```javascript Node theme={null}
  const response = await fetch(
    "https://api.agentic-os.com/api/v1/contact-lists/33333333-3333-3333-3333-333333333333",
    {
      method: "PATCH",
      headers: {
        Authorization: `Bearer ${API_KEY}`,
        "Content-Type": "application/json",
      },
      body: JSON.stringify({ name: "Q3 Target Leads — Qualified" }),
    },
  );
  const data = await response.json();
  console.log(data);
  ```
</CodeGroup>

### Response

```json theme={null}
{
  "id": "33333333-3333-3333-3333-333333333333",
  "tenantId": "990e8400-e29b-41d4-a716-446655440000",
  "name": "Q3 Target Leads — Qualified",
  "metadata": {
    "source": "hubspot_export"
  },
  "createdAt": "2026-06-01T09:00:00.000Z",
  "updatedAt": "2026-06-01T09:30:00.000Z"
}
```
