---
title: "Add domains to the positive or negative list of a segmentation"
method: POST
path: "/v2/segmentation/{segmentation_id}/markDomains"
tags: ["Segmentation"]
---

# Add domains to the positive or negative list of a segmentation

`POST /v2/segmentation/{segmentation_id}/markDomains`

Append domains to the positive or negative list of an existing segmentation to steer future results toward good-fit companies and away from poor-fit ones.

## Path parameters

- `segmentation_id` integer, required

## Query parameters

- `apiToken` string, nullable

## Headers

- `x-api-token` string, nullable

## Request body

- AddMarkedDomainsInput
  - `domains` string[], required — Domains to add to the positive or negative list.
  - `type` 'positive' | 'negative', required — Whether these domains are a good fit (`positive`) or a poor fit (`negative`).

## Response `200`

Successful Response

- StatusResponse
  - `status` string, required

## Other responses

- `400` — Bad Request
- `402` — Payment Required
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error

---

[API](https://skmtc.dev/ocean/apis/ocean-io-api-documentation.md) · [All operations](https://skmtc.dev/ocean/apis/ocean-io-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ocean/ocean-io-api-documentation/revisions/505121e48722/schema)
