> ## 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.

# Create contact list

> Create a new contact list to hold campaign recipients

Creates a new empty contact list. You can populate the list by uploading a CSV via [`POST /contact-lists/{id}/upload`](/docs/api-reference/campaigns/upload-contacts-csv), adding contacts individually via [`POST /contact-lists/{listId}/contacts`](/docs/api-reference/campaigns/add-contact), or adding contacts in bulk via [`POST /contact-lists/{listId}/contacts/bulk`](/docs/api-reference/campaigns/bulk-add-contacts).

### Body parameters

<ParamField body="name" type="string" required>
  Unique name for the contact list across your tenant.
</ParamField>

<ParamField body="metadata" type="object">
  Optional arbitrary key-value metadata (e.g. source tracking or campaign category).
</ParamField>

<CodeGroup>
  ```bash curl theme={null}
  curl -X POST https://api.agentic-os.com/api/v1/contact-lists \
    -H "Authorization: Bearer $AGENTIC_OS_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "name": "Q3 Target Leads",
      "metadata": {
        "source": "hubspot_export",
        "tier": "enterprise"
      }
    }'
  ```

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

  response = requests.post(
      "https://api.agentic-os.com/api/v1/contact-lists",
      headers={
          "Authorization": f"Bearer {API_KEY}",
          "Content-Type": "application/json",
      },
      json={
          "name": "Q3 Target Leads",
          "metadata": {"source": "hubspot_export", "tier": "enterprise"},
      },
  )
  print(response.json())
  ```

  ```javascript Node theme={null}
  const response = await fetch("https://api.agentic-os.com/api/v1/contact-lists", {
    method: "POST",
    headers: {
      Authorization: `Bearer ${API_KEY}`,
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      name: "Q3 Target Leads",
      metadata: { source: "hubspot_export", tier: "enterprise" },
    }),
  });
  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",
  "metadata": {
    "source": "hubspot_export",
    "tier": "enterprise"
  },
  "createdAt": "2026-06-01T09:00:00.000Z",
  "updatedAt": "2026-06-01T09:00:00.000Z"
}
```
