# Exclude leads

> Keep companies, domains, countries, industries or job titles out of your leads, and addresses out of your campaigns.

Every section below does the same job: in the dashboard (Guide), from your code (API) or through an AI assistant (MCP).

## Guide — In the dashboard

Source: /docs/qualify/exclusions

An **Exclude** rule in a scoring model keeps every matching lead out before it comes in: a country, a company domain, an industry, a job title… From code you can also block domains, and keep email addresses out of every campaign.

<DemoFrame guide="qualify-exclusions" to="/score-model/{workspace}" />

1. **Open a model → find the criterion** (country, domain, industry…).
2. **Exclude** it, or **Only include** to allow just those.
3. **Save** — it applies to new leads.


---

## API — From your code

Source: /docs/qualify/exclusions/api

Authenticated with `?privateKey=YOUR_KEY` (see [Authentication](/docs/authentication)).

<Endpoints ops={["GET /admin/domain-blacklist", "POST /admin/domain-blacklist", "DELETE /admin/domain-blacklist", "GET /admin/email-blacklist", "POST /admin/email-blacklist", "DELETE /admin/email-blacklist", "GET /admin/websites/blacklist", "POST /admin/websites/blacklist", "PUT /v3/websites/{websiteId}/page-rules", "POST /v3/exclusions/domains", "POST /v3/exclusions/people"]} />

<ApiPlayground
  ops={["GET /admin/domain-blacklist", "POST /admin/domain-blacklist", "DELETE /admin/domain-blacklist", "GET /admin/email-blacklist", "POST /admin/email-blacklist", "DELETE /admin/email-blacklist", "GET /admin/websites/blacklist", "POST /admin/websites/blacklist", "PUT /v3/websites/{websiteId}/page-rules", "POST /v3/exclusions/domains", "POST /v3/exclusions/people"]}
  method="get"
  path="/admin/domain-blacklist"
  tool="get_domain_blacklist"
  args={`{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9"
}`}
/>

### Use case: Keep your customers out of campaigns [#use-case-keep-your-customers-out-of-campaigns]

`POST /admin/email-blacklist` with `{ "websiteId": …, "csv": "customers", "email": [ … ] }` — campaigns never send to those addresses.


---

## MCP — AI agents

Source: /docs/qualify/exclusions/mcp

Connect the [MCP server](/docs/mcp#quickstart), then just ask.

<Tools names={["get_domain_blacklist", "add_to_domain_blacklist", "remove_from_domain_blacklist", "list_email_blacklist", "add_to_email_blacklist", "remove_from_email_blacklist", "get_country_blacklist", "set_country_blacklist", "set_page_tracking_rules", "block_domain", "block_person"]} />

### Use case [#use-case]

> Never email anyone at our customers: acme.example and northwind.example.

<McpToolCall name="add_to_domain_blacklist">

```json
{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9",
  "domains": [
    "acme.example",
    "northwind.example"
  ]
}
```

</McpToolCall>

