---
title: "Get List of Added or Removed Cookies"
method: GET
path: "/api/cmp/v1/webscans/domains/{domainId}/scans/{scanId}/scandelta"
tags: ["Scans"]
---

# Get List of Added or Removed Cookies

`GET /api/cmp/v1/webscans/domains/{domainId}/scans/{scanId}/scandelta`

## Request

- Base URL: `https://hostname`
- URL: `https://hostname/api/cmp/v1/webscans/domains/{domainId}/scans/{scanId}/scandelta`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{hostname}/api/access/v1/oauth/token` scopes: `COOKIE`, `COOKIE_READ`

Use this API to retrieve a list of added or removed cookies between the current and previous scan for the specified domain.

## Path parameters

- `domainId` string, uuid, required
- `scanId` string, uuid, required

## Query parameters

- `language` string
- `countryCode` string

## Response `200`

OK

- ScanDeltaDetails
  - `addedCookies` CookieInformation[]: The cookies that were newly added.
    - `id` string, uuid: The unique identifier of the item.
    - `name` string: The name or title of the item.
    - `host` string: The domain or website that created the cookie.
    - `expiryDate` integer: The date and time when the cookie expires.
    - `expiryUnit` integer: The time unit used for cookie expiration.
    - `urlDomain` string: The domain portion extracted from a URL.
    - `path` string: The URL path where the cookie is active.
    - `isSecure` boolean: This flag indicates whether the cookie requires HTTPS.
    - `isHttpOnly` boolean: This flag indicates whether the cookie is accessible only via HTTP.
    - `isSession` boolean: This flag indicates whether the cookie is a session cookie.
    - `isBehindLogin` boolean: This flag indicates whether the cookie is found behind authentication.
    - `hostDescription` string: The description of the host domain.
    - `thirdPartyDescription` string: The description of third-party cookies and their usage.
    - `description` string: The description of the cookie and its intended purpose.
    - `purpose` string: The intended use or function of the cookie.
    - `cookiepediaCategory` string: The category assigned by Cookiepedia classification system.
    - `firstParty` boolean: This flag indicates whether the cookie is set by the visited website.
    - `status` integer: The current state or condition of the item.
    - `color` string: The color code used for visual identification.
    - `isNewFound` boolean: This flag indicates whether the cookie was newly discovered.
    - `isNewlyAdded` boolean: This flag indicates whether the item was recently added.
    - `categoryId` string: The unique identifier of the category.
    - `customCategoryId` string, uuid: Custom category Id for cookie
  - `removedCookies` CookieInformation[]: The cookies that were removed or deleted.
    - `id` string, uuid: The unique identifier of the item.
    - `name` string: The name or title of the item.
    - `host` string: The domain or website that created the cookie.
    - `expiryDate` integer: The date and time when the cookie expires.
    - `expiryUnit` integer: The time unit used for cookie expiration.
    - `urlDomain` string: The domain portion extracted from a URL.
    - `path` string: The URL path where the cookie is active.
    - `isSecure` boolean: This flag indicates whether the cookie requires HTTPS.
    - `isHttpOnly` boolean: This flag indicates whether the cookie is accessible only via HTTP.
    - `isSession` boolean: This flag indicates whether the cookie is a session cookie.
    - `isBehindLogin` boolean: This flag indicates whether the cookie is found behind authentication.
    - `hostDescription` string: The description of the host domain.
    - `thirdPartyDescription` string: The description of third-party cookies and their usage.
    - `description` string: The description of the cookie and its intended purpose.
    - `purpose` string: The intended use or function of the cookie.
    - `cookiepediaCategory` string: The category assigned by Cookiepedia classification system.
    - `firstParty` boolean: This flag indicates whether the cookie is set by the visited website.
    - `status` integer: The current state or condition of the item.
    - `color` string: The color code used for visual identification.
    - `isNewFound` boolean: This flag indicates whether the cookie was newly discovered.
    - `isNewlyAdded` boolean: This flag indicates whether the item was recently added.
    - `categoryId` string: The unique identifier of the category.
    - `customCategoryId` string, uuid: Custom category Id for cookie
  - `scanDeltaMetadata` ScanDeltaMetadataDto
    - `id` string, uuid: The unique identifier of the item.
    - `sourceScanId` string, uuid: The unique identifier of the original scan.
    - `targetScanId` string, uuid: The unique identifier of the comparison scan.
    - `targetScanDate` string, date-time: The date and time when the comparison scan was performed.
    - `targetScanDeleted` boolean: This flag indicates whether the comparison scan was deleted.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500`: Internal Server Error

---

[API](https://skmtc.dev/onetrust/apis/consent-preferences-cookie-consent.md) - [All operations](https://skmtc.dev/onetrust/apis/consent-preferences-cookie-consent/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/consent-preferences-cookie-consent/revisions/b4fb4606f973?raw)
