---
title: "Lists the exclusion groups of a specific target group"
method: GET
path: "/demand/accounts/{account_id}/target-groups/{target_group_id}/exclusion-groups"
tags: ["Respondent Exclusions"]
---

# Lists the exclusion groups of a specific target group

`GET /demand/accounts/{account_id}/target-groups/{target_group_id}/exclusion-groups`

## Request

- Base URL: `https://api.cint.com/v1`
- URL: `https://api.cint.com/v1/demand/accounts/{account_id}/target-groups/{target_group_id}/exclusion-groups`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/cint/apis/demand-api/docs/demand/accounts/:account_id/target-groups/:target_group_id/exclusion-groups/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists all exclusion groups that a specific target group is a member of, ordered by creation date. When a respondent attempts to enter this target group, they will be checked against all other target groups in all of the exclusion groups listed here.

## Path parameters

- `account_id` integer, required: The account's unique identifier.
- `target_group_id` string, required: A unique identifier for the target group, in ULID format.

## Query parameters

- `page_size` integer
- `start_after` string
- `end_before` string

## Response `200`

A list of exclusion groups for the requested target group was retrieved successfully.

- GetExclusionGroupsByTargetGroupResponse: List of Exclusion Groups including the given target group
  - `data` ExclusionGroupInfo[], required
    - `exclusion_group_id` string, required: A unique identifier for the exclusion group, in ULID format.
    - `tag` string, required: A user-defined tag that acts as a name for the exclusion group.
    - `description` string, required: A user-defined description that explains the purpose of the exclusion group
    - `create_date` string, date-time, required: The date when the exclusion group was created
    - `update_date` string, date-time: The date when the exclusion group was last updated. Omitted if the exclusion group has never been updated.
  - `next_cursor` string: An ID of the next list of items and indicator that there are more items than currently viewable.
  - `url` string, required: URL to fetch the next page of Exclusion Groups.

## Other responses

- `400`: A request is not valid and can't be processed.
- `401`: A request is unauthorized.
- `403`: A requested is forbidden.
- `500`: A request failed due to an internal error.

---

[API](https://skmtc.dev/cint/apis/demand-api.md) - [All operations](https://skmtc.dev/cint/apis/demand-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cint/apis/demand-api/revisions/077a4bdda5cb?raw)
