---
title: "Get Scan Results"
method: GET
path: "/api/cmp/v1/webscans/domains/{domainId}/scans/{scanId}/scanresults"
tags: ["Scans"]
---

# Get Scan Results

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

## Request

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

Use this API to retrieve results for a specific scan, including details such as cookies, tags, forms, etc.

## Path parameters

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

## Query parameters

- `language` string
- `countryCode` string
- `entityType` 'COOKIE' | 'TAG' | 'PAGE' | 'FORM' | 'SERVICE' | 'STORAGE', required
- `page` integer
- `size` integer

## Response `200`

Returns detailed scan results.

- ScanResultEntityPageResponse
  - `content` union[]: The main content or data payload of the response.
    - union
      - CookieInformationDetailed
        - `id` string, uuid: Cookie identifier
        - `name` string: Cookie name
        - `host` string: Host associated with the cookie
        - `expiryDate` integer: Expiry date of the cookie
        - `expiryUnit` 'DAY' | 'WEEK' | 'MONTH' | 'YEAR': Expiry unit of the cookie.
        - `urlDomain` string: Domain url
        - `path` string: Cookie path
        - `isSecure` boolean: Whether cookie is secure
        - `isHttpOnly` boolean: Whether cookie is http only
        - `isSession` boolean: Whether cookie is a session cookie
        - `isBehindLogin` boolean: Whether cookie is behind login
        - `hostDescription` string: Host description
        - `thirdPartyDescription` string: Third party description
        - `description` string: Cookie description
        - `purpose` string: Cookie purpose
        - `cookiepediaCategory` string: Cookie category name
        - `firstParty` boolean: Whether cookies is first party
        - `status` 'NEW' | 'REVIEWED' | 'NOT_FOUND' | 'DELETED' | 'REVIEWED_NOT_FOUND' | 'ARCHIVED': Cookie status.
        - `color` string: Cookie color related to the category.
        - `isNewFound` boolean: Whether cookie is new found from this scan.
        - `isNewlyAdded` boolean: Whether cookie is newly added from this scan.
        - `categoryId` string: Cookie category identifier.
      - PageDto
        - `id` string, uuid: Page identifier
        - `auditUrl` string: Page url
        - `cookieCount` integer: Number of cookies found on page
        - `errorMessage` string: Error message if something went wrong when scanning page.
        - `sourceUrl` string: Source url.
        - `scanOrder` integer: Source url.
        - `isCookiePolicy` number, double
        - `isPrivacyPolicy` number, double
        - `isLoginForm` boolean: Whether page has login form.
        - `isBehindLogin` boolean: Whether page is behind login.
        - `hasVideo` boolean: Whether the page has video content
      - TagDto
        - `id` string, uuid: Tag identifier
        - `host` string: Tag host
        - `tagType` string: Tag type
        - `src` string: Tag source url
        - `params` string: Tag parameters.
        - `createdDate` string, date-time: Date when the tag was created.
        - `status` integer: Tag status. Can be 1 or 2 (new or not found)
        - `age` integer: How many days the tag is old.
        - `parent` string: Tag parent url.
        - `children` string: Tag child url.
        - `firstParty` boolean: Whether tag is first party
        - `added` boolean: Whether the tag was added since previous scan
        - `removed` boolean: Whether the tag was removed since previous scan
        - `changeSincePreviousScan` string: Changes in comparison to previous successful scan.
      - FormDataGroupDto
        - `id` string, uuid: Form identifier
        - `name` string: Form name
        - `numberOfPagesFound` integer: Number of pages where this form was found
        - `formDataFields` FormDataDto[]: List of data field information contained in the form
          - `fieldName` string: Field name
          - `formName` string: Name of the form to which this field belongs
          - `type` string: Type of data field. For example email/text/hidden.
          - `title` string: Field title
          - `label` string: Field lable
          - `value` string: Value of the field. Mostly this value is empty since the fields expect some input.
          - `personalData` boolean
      - StorageEntriesDto
        - `host` string: Storage entry host
        - `key` string: Storage entry key
        - `value` string: Storage entry value
        - `type` integer: Storage entry type. Can be 1 or 2 (local or session)
      - ServiceProviderBasicDetails
        - `serviceName` string: Service name
        - `vendor` string: Vendor name
        - `category` string: Category
        - `description` string: Service description
        - `location` string: Address
        - `privacyPolicy` string: Privacy policy url
        - `added` boolean: Whether the service was added since previous scan
        - `removed` boolean: Whether the service was removed since previous scan
        - `changeSincePreviousScan` string: Changes in comparison to previous successful scan.
  - `scanId` string, uuid: Scan ID
  - `domainId` string, uuid: The unique identifier of the domain.
  - `totalElements` integer: The total number of items in the complete result set.
  - `totalPages` integer: The total number of pages in the paginated results.
  - `pageSize` integer: The number of items displayed per page.
  - `pageNumber` integer: The current page number in the pagination sequence.
  - `numberOfElements` integer: The number of items in the current page.

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