---
title: "Lists target groups in an exclusion group"
method: GET
path: "/demand/accounts/{account_id}/exclusion-groups/{exclusion_group_id}/target-groups"
tags: ["Respondent Exclusions"]
---

# Lists target groups in an exclusion group

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

## Request

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

Lists the target groups that belong to a specific exclusion group. Respondents who complete one target group in this list will be excluded from participating in any of the others. **An exclusion group can contain a maximum of 100 target groups.**

## Path parameters

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

## Query parameters

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

## Response `200`

A list of target groups within the exclusion group was retrieved successfully.ns

- ExclusionGroupTargetGroupsResponse: A paginated list of target groups that are members of the exclusion group.
  - `data` TargetGroupID[], required: List of Target Group IDs
  - `next_cursor` string, nullable: The cursor to use in the start_after parameter to fetch the next page of results.
  - `url` string, required: URL to fetch the next page of Target Group IDs.

## Other responses

- `401`: A request is unauthorized.
- `403`: A requested is forbidden.
- `404`: A requested resource isn't found.
- `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)
