---
title: "GET /Campaign/{id}/excludingTargetLists"
method: GET
path: "/Campaign/{id}/excludingTargetLists"
tags: ["Campaign"]
---

# GET /Campaign/{id}/excludingTargetLists

`GET /Campaign/{id}/excludingTargetLists`

List 'TargetList' records related through the 'excludingTargetLists' link.

## Response `200`

Success.

- object
  - `list` TargetList[] — Records.
    - `id` string — An ID.
    - `name` string — A one-line string.
    - `categoryId` string, nullable — An ID of the record of the TargetListCategory type.
    - `categoryName` string, nullable — A foreign record name.
    - `entryCount` integer, nullable
    - `optedOutCount` integer, nullable
    - `description` string, nullable — A multi-line text.
    - `sourceCampaignId` string, nullable
    - `sourceCampaignName` string, nullable — A foreign record name.
    - `createdAt` string, nullable — A timestamp in UTC.
    - `modifiedAt` string, nullable — A timestamp in UTC.
    - `createdById` string, nullable — An ID of the record of the User type.
    - `createdByName` string, nullable — A foreign record name.
    - `modifiedById` string, nullable — An ID of the record of the User type.
    - `modifiedByName` string, nullable — A foreign record name.
    - `assignedUserId` string, nullable — An ID of the record of the User type.
    - `assignedUserName` string, nullable — A foreign record name.
    - `teamsIds` string[], nullable — IDs of records of the Team type.
    - `teamsNames` object, nullable — An {ID => record name} map.
    - `targetStatus` 'Listed' | 'Opted Out'
    - `isOptedOut` boolean
  - `total` number — The total number of records. If the total number is disabled, special values are returned: -1 – there are more records to paginate, -2 – there are no more records.

## Other responses

- `400` — Bad request. Check logs for details.
- `403` — Forbidden. Might be an access control error. Check logs for details.

## Changes

- **2025-12-02** `e28ba9216fac` — 8 warning, 1 info
  - deleted the `query` request parameter `attributeSelect`
  - deleted the `query` request parameter `boolFilterList`
  - deleted the `query` request parameter `maxSize`
  - deleted the `query` request parameter `offset`
  - …5 more

[Change history](https://skmtc.dev/espocrm/apis/espocrm-api/changes/Campaign/:id/excludingTargetLists/get.md)

---

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