---
title: "Get List of Websites"
method: GET
path: "/v2/websites"
tags: ["Websites V2"]
---

# Get List of Websites

`GET /v2/websites`

Use this API to retrieve a list of all websites in the scanner. The response will return websites in **Pending** and **Completed** status along with the corresponding domain ID, external organization ID, and last scanned date.
> 🗒 Things to Know
> 
> - It is recommended to use the `page` and `size` parameters if the number of domains is greater than 1,000.

## Query parameters

- `externalOrgId` string
- `searchStr` string
- `page` integer
- `size` integer
- `sort` 'ScanStatus,ASC' | 'ScanStatus,DESC' | 'Url,ASC' | 'Url,DESC' | 'PagesScanned,ASC' | 'PagesScanned,DESC' | 'TotalCookieCount,ASC' | 'TotalCookieCount,DESC' | 'ConsentPolicyName,ASC' | 'ConsentPolicyName,DESC' | 'ScheduledNextScanDate,ASC' | 'ScheduledNextScanDate,DESC'

## Response `200`

OK

List of websites retrieved successfully.

- PaginatedWebsiteResponseDTO — Paginated websites scanned or pending to be scanned
  - `content` ExposedWebsiteDetailsDto[] — List of domains scanned or pending to be scanned
    - `consentPolicyName` string — Name of the assigned consent policy to the website.
    - `domainName` string — Name of the domain.
    - `domainId` string, UUID — ID of the domain.
    - `externalOrgId` string — ID of the external organization for the website scan.
    - `lastScannedDate` string, date-time — The date and time at which the domain was last scanned.
    - `lastScannedTotalCookies` integer — Total cookies found on the last scan.
    - `lastScannedTotalPages` integer — Total pages scanned in the last scan.
    - `orgName` string — Name of the organization.
    - `overPageLimit` boolean — The flag to indicate if it is over the tenant page limit.
    - `scanError` string — Error message if any in the scan.
    - `scheduledDateOfNextScan` string, date-time — The date and time at which the next scan is scheduled.
    - `status` string — Status of the scan.
  - `numberOfElements` integer — Total number of elements in the result list.
  - `pageNumber` integer — Page number of the results list (0….N).
  - `pageSize` integer — Number of records per page (0…N).
  - `sort` Sort
    - `empty` boolean — The flag to determine if the list is empty.
    - `sorted` boolean — The flag to determine if the list is sorted. If set True, the list is sorted.
    - `unsorted` boolean — The flag to determine if the list is unsorted. If set True, the list is unsorted.
  - `totalElements` integer — Total number of websites found.
  - `totalPages` integer — Total number of pages in the result.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).

---

[API](https://skmtc.net/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.net/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/versions/21de3aa0b170/schema)
