---
title: "Creates an exclusion group"
method: POST
path: "/demand/accounts/{account_id}/exclusion-groups"
tags: ["Respondent Exclusions"]
---

# Creates an exclusion group

`POST /demand/accounts/{account_id}/exclusion-groups`

## Request

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

Creates a new exclusion group for your account and returns its unique ID.
Key behaviors:
* You can create multiple exclusion groups with the same tag. * A target group can belong to multiple exclusion groups. * An exclusion group can contain a maximum of 100 target groups.

## Path parameters

- `account_id` integer, required: The account's unique identifier.

## Request body

- CreateExclusionGroupRequest: The details required to create a new exclusion group.
  - `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

## Response `201`

The exclusion group was created successfully.

- CreateExclusionGroupResponse
  - `exclusion_group_id` string, required: A unique identifier for the exclusion group, in ULID format.

## 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)
