> ## Documentation Index
> Fetch the complete documentation index at: https://docs.adclear.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Disclaimers

> Read your workspace's disclaimers library through the Adclear API, find the disclaimers that apply to a promotion, and fetch older versions.

Disclaimers are the standard wording, such as risk warnings and terms, that a promotion may need to carry. The Adclear API gives read-only access to your workspace's disclaimers library, so your own tools can show or insert the approved wording instead of keeping a separate copy.

Each disclaimer has a `publicId`: the disclaimer number reviewers see in Adclear (for example "Disclaimer 42"). All versions of a disclaimer share it. Each version has its own `id` (a UUID).

## Endpoints

| Endpoint | Use it to |
| - | - |
| `GET /v1/disclaimers` | Page through the live disclaimers, with filters and sorting |
| `GET /v1/disclaimers/search` | Sort disclaimers into applicable and not applicable for a product, channel, jurisdiction, or content type |
| `GET /v1/disclaimers/{disclaimerId}` | Fetch one disclaimer, a specific version, or its version history |

See the full request, response schema, and a live request in the API reference:

> [card] [List disclaimers](https://docs.adclear.ai/api-reference/api/disclaimers/list-disclaimers.md)

> [card] [Search disclaimers](https://docs.adclear.ai/api-reference/api/disclaimers/search-disclaimers.md)

> [card] [Get disclaimer](https://docs.adclear.ai/api-reference/api/disclaimers/get-disclaimer.md)

The acting user needs a role that can view disclaimers. External Uploaders and External Reviewers can't, so a request made as one of them returns `403 FORBIDDEN`. See [Permissions](https://docs.adclear.ai/developer/authentication.md#permissions).

## List disclaimers

`GET /v1/disclaimers` returns the latest version of every live (unarchived) disclaimer. Use `search` to match disclaimer text or a disclaimer number.

The `productId`, `adTypeId` (channel), `countryId` (jurisdiction), and `communicationTypeId` filters take one ID or a comma-separated list. Each returns disclaimers linked to any of those IDs, plus disclaimers set to apply to every item of that type. Get product, channel, and jurisdiction IDs from [Reference data](https://docs.adclear.ai/developer/reference-data.md).

```bash theme={null}
curl -s "$API_BASE/v1/disclaimers?productId=$PRODUCT_ID&pageSize=50" \
  -H "Authorization: Bearer $ADCLEAR_API_KEY" \
  -H "X-External-User-ID: $USER_ID"
```

| Parameter | Default | Description |
| - | - | - |
| `createdAtStart`, `createdAtEnd` | None | Calendar dates (`YYYY-MM-DD`). Both bounds are inclusive. A date and time is rejected with `400` |
| `sortBy` | `publicId` | `publicId` or `createdAt` |
| `sortOrder` | `desc` | `asc` or `desc` |
| `page` | `1` | Page number |
| `pageSize` | `10` | Rows per page, 1 to 100 |

The response has a `pagination` object with `currentPage`, `pageSize`, `totalItems`, and `totalPages`.

## Find the disclaimers that apply

`GET /v1/disclaimers/search` works like the `searchDisclaimers` [MCP tool](https://docs.adclear.ai/mcp/tools-and-permissions.md). Its filters don't remove disclaimers. They sort them into three buckets:

| Bucket | Contains |
| - | - |
| `applicable` | Disclaimers that cover every filter you passed |
| `notApplicable` | Disclaimers that don't |
| `linked` | The disclaimers you listed in `linkedDisclaimerIds`, such as ones already chosen for the promotion |

Without `category`, the response has only `counts` per bucket and an empty `disclaimers` array. Pass `category` to get the rows of one bucket.

**1. Get the counts**

Call the endpoint with the promotion's classification to see how many disclaimers fall into each bucket.

```bash theme={null}
curl -s "$API_BASE/v1/disclaimers/search?productId=$PRODUCT_ID&adTypeId=$CHANNEL_ID&countryId=$JURISDICTION_ID&contentType=video" \
  -H "Authorization: Bearer $ADCLEAR_API_KEY" \
  -H "X-External-User-ID: $USER_ID"
```

```json theme={null}
{
  "disclaimers": [],
  "counts": { "applicable": 12, "notApplicable": 30, "linked": 0 },
  "correlationId": "corr-uuid-..."
}
```

**2. Read the bucket you need**

Repeat the request with `category=applicable`. The response adds a `pagination` object. Call again with `page` set to `pagination.nextPage` until `pagination.hasMore` is `false`. `limit` sets the rows per page, 1 to 100 (default 10).

`contentType` accepts `video`, `pdf`, `audio`, `image`, or `text`. To fetch specific disclaimers from an earlier search, pass their IDs in `ids`. Without `category`, the response returns every one with its `isApplicable` value. Set `countsOnly=true` to get only the counts even when you pass `category` or `ids`.

## Get a disclaimer

`GET /v1/disclaimers/{disclaimerId}` returns one version of a disclaimer. Alongside the named `products`, `adTypes`, `countries`, and `communicationTypes`, it returns their IDs as `productIds`, `adTypeIds`, `countryIds`, and `communicationTypeIds`.

A UUID identifies one exact version. The IDs from list and search are always the latest version. A UUID taken from the version history returns that older version, with `isLatestVersion` set to `false`.

| Request | Returns |
| - | - |
| `GET /v1/disclaimers/{id}` | The version with that UUID |
| `GET /v1/disclaimers/42?version=3` | Version 3 of disclaimer number 42. `version` requires the disclaimer number (`publicId`) in the path |
| `GET /v1/disclaimers/{id}?includeHistory=true` | The version, plus `versionHistory`: every version of the disclaimer, newest first |

A disclaimer ID that doesn't exist, or belongs to another organisation or workspace, returns `404 NOT_FOUND`. A path that isn't a UUID (or a number when you pass `version`) returns `400 VALIDATION_ERROR`.

For cross-cutting errors (401, 403, 429), see [Errors & rate limits](https://docs.adclear.ai/developer/errors.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.