> For the complete documentation index, see [llms.txt](https://integrations.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://integrations.impact.com/brand-api-reference/brand-api-reference-v12/reference/exception-lists/exception-lists.md).

# Exception Lists

## List All Exception Lists

> Returns a list of your exception lists, with options for filtering.

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Exception Lists","version":"v12"},"servers":[{"url":"https://api.impact.com"}],"security":[{"basicAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"Use your AccountSID as the username and AuthToken as the password."}},"schemas":{"ExceptionListState":{"type":"string","enum":["ACTIVE","CLOSED","DEACTIVATED"]},"ExceptionListType":{"type":"string","enum":["CATEGORY","SKU"]},"ExceptionList":{"type":"object","properties":{"Id":{"type":"integer","description":"The unique identifier for the exception list."},"Name":{"type":"string","description":"The display name for the exception list."},"State":{"$ref":"#/components/schemas/ExceptionListState","description":"The current state of the exception list."},"CampaignId":{"type":"integer","description":"The program ID the list applies to."},"Type":{"$ref":"#/components/schemas/ExceptionListType","description":"Whether this list applies to CATEGORY or SKU."},"CreatedDate":{"type":"string","format":"date-time","description":"The date and time the list was created."},"DeactivationDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the list was deactivated, if applicable."},"ActionTrackers":{"type":"array","description":"The action trackers (event types) this list applies to.","items":{"type":"object","properties":{"Id":{"type":"integer","description":"The unique identifier for the action tracker."},"Name":{"type":"string","description":"The display name of the action tracker."}}}},"NumberOfItems":{"type":"integer","description":"The total number of items in the list."},"ItemsUri":{"type":"string","format":"uri-reference","description":"The unique reference to the items collection for this list."},"Uri":{"type":"string","format":"uri-reference","description":"The unique reference to this exception list in the impact.com API."}}}}},"paths":{"/Advertisers/{AccountSID}/ExceptionLists":{"get":{"summary":"List All Exception Lists","description":"Returns a list of your exception lists, with options for filtering.","operationId":"listExceptionLists","tags":["Exception Lists"],"parameters":[{"name":"AccountSID","in":"path","required":true,"schema":{"type":"string"},"description":"Your unique Account SID."},{"name":"CampaignId","in":"query","schema":{"type":"integer"},"description":"Filter by a specific program (campaign) ID."},{"name":"State","in":"query","schema":{"$ref":"#/components/schemas/ExceptionListState"},"description":"Filter lists by their current state."},{"name":"Type","in":"query","schema":{"$ref":"#/components/schemas/ExceptionListType"},"description":"Filter lists by their type."}],"responses":{"200":{"description":"A list of exception list objects.","content":{"application/json":{"schema":{"type":"object","properties":{"ExceptionLists":{"type":"array","description":"The list of exception list objects.","items":{"$ref":"#/components/schemas/ExceptionList"}}}}}}}}}}}}
```

## Create an Exception List

> Creates a new exception list.

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Exception Lists","version":"v12"},"servers":[{"url":"https://api.impact.com"}],"security":[{"basicAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"Use your AccountSID as the username and AuthToken as the password."}},"schemas":{"ExceptionListType":{"type":"string","enum":["CATEGORY","SKU"]},"SuccessUriResponse":{"type":"object","properties":{"Status":{"type":"string","description":"Indicates whether the operation was successful."},"Uri":{"type":"string","format":"uri-reference","description":"The unique reference to the affected resource."}}}}},"paths":{"/Advertisers/{AccountSID}/ExceptionLists":{"post":{"summary":"Create an Exception List","description":"Creates a new exception list.","operationId":"createExceptionList","tags":["Exception Lists"],"parameters":[{"name":"AccountSID","in":"path","required":true,"schema":{"type":"string"},"description":"Your unique Account SID."}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["ActionTrackerId","CampaignId","Name","Type"],"properties":{"ActionTrackerId":{"type":"string","description":"Comma-separated list of event type IDs."},"CampaignId":{"type":"integer","description":"The program ID the list applies to."},"Name":{"type":"string","description":"The name of the exception list."},"Type":{"$ref":"#/components/schemas/ExceptionListType","description":"Whether this list applies to CATEGORY or SKU."}}}}}},"responses":{"200":{"description":"The exception list was created successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessUriResponse"}}}}}}}}}
```

## Retrieve an Exception List

> Retrieves the details of a single, existing exception list by its ID.

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Exception Lists","version":"v12"},"servers":[{"url":"https://api.impact.com"}],"security":[{"basicAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"Use your AccountSID as the username and AuthToken as the password."}},"schemas":{"ExceptionList":{"type":"object","properties":{"Id":{"type":"integer","description":"The unique identifier for the exception list."},"Name":{"type":"string","description":"The display name for the exception list."},"State":{"$ref":"#/components/schemas/ExceptionListState","description":"The current state of the exception list."},"CampaignId":{"type":"integer","description":"The program ID the list applies to."},"Type":{"$ref":"#/components/schemas/ExceptionListType","description":"Whether this list applies to CATEGORY or SKU."},"CreatedDate":{"type":"string","format":"date-time","description":"The date and time the list was created."},"DeactivationDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the list was deactivated, if applicable."},"ActionTrackers":{"type":"array","description":"The action trackers (event types) this list applies to.","items":{"type":"object","properties":{"Id":{"type":"integer","description":"The unique identifier for the action tracker."},"Name":{"type":"string","description":"The display name of the action tracker."}}}},"NumberOfItems":{"type":"integer","description":"The total number of items in the list."},"ItemsUri":{"type":"string","format":"uri-reference","description":"The unique reference to the items collection for this list."},"Uri":{"type":"string","format":"uri-reference","description":"The unique reference to this exception list in the impact.com API."}}},"ExceptionListState":{"type":"string","enum":["ACTIVE","CLOSED","DEACTIVATED"]},"ExceptionListType":{"type":"string","enum":["CATEGORY","SKU"]}}},"paths":{"/Advertisers/{AccountSID}/ExceptionLists/{ExceptionListId}":{"get":{"summary":"Retrieve an Exception List","description":"Retrieves the details of a single, existing exception list by its ID.","operationId":"getExceptionListById","tags":["Exception Lists"],"parameters":[{"name":"AccountSID","in":"path","required":true,"schema":{"type":"string"},"description":"Your unique Account SID."},{"name":"ExceptionListId","in":"path","required":true,"schema":{"type":"integer"},"description":"The unique identifier for the exception list."}],"responses":{"200":{"description":"A single exception list object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExceptionList"}}}}}}}}}
```

## Update an Exception List

> Updates the specified exception list.

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Exception Lists","version":"v12"},"servers":[{"url":"https://api.impact.com"}],"security":[{"basicAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"Use your AccountSID as the username and AuthToken as the password."}},"schemas":{"ExceptionListType":{"type":"string","enum":["CATEGORY","SKU"]},"SuccessUriResponse":{"type":"object","properties":{"Status":{"type":"string","description":"Indicates whether the operation was successful."},"Uri":{"type":"string","format":"uri-reference","description":"The unique reference to the affected resource."}}}}},"paths":{"/Advertisers/{AccountSID}/ExceptionLists/{ExceptionListId}":{"put":{"summary":"Update an Exception List","description":"Updates the specified exception list.","operationId":"updateExceptionList","tags":["Exception Lists"],"parameters":[{"name":"AccountSID","in":"path","required":true,"schema":{"type":"string"},"description":"Your unique Account SID."},{"name":"ExceptionListId","in":"path","required":true,"schema":{"type":"integer"},"description":"The unique identifier for the exception list to update."}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"ActionTrackerId":{"type":"string","description":"Comma-separated list of event type IDs."},"Name":{"type":"string","description":"The display name for the exception list."},"Type":{"$ref":"#/components/schemas/ExceptionListType","description":"Whether this list applies to CATEGORY or SKU."}}}}}},"responses":{"200":{"description":"The exception list was updated successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessUriResponse"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://integrations.impact.com/brand-api-reference/brand-api-reference-v12/reference/exception-lists/exception-lists.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
