---
title: "Add Websites to Scan"
method: POST
path: "/v2/websites"
tags: ["Websites V2"]
---

# Add Websites to Scan

`POST /v2/websites`

Use this API to add a website or multiple websites to the scanner.

## Query parameters

- `externalOrgId` string, required

## Request body

- ScanWebsiteDto[]
  - `domain` string, required — Domain name of the website to scan.
  - `numberOfPages` integer, required — Number of pages to scan. Number of pages depend on page limit set for each tenant. If a higher value is provided, then the page limit will have priority.
  - `independentPaths` boolean, required — Whether to scan independent paths.
  - `includedQueryParams` string — Query parameters to include in the scan.
  - `siteMapsUris` string — URIs for the sitemaps.
  - `geoLocation` string — Geographical location for the scan.
  - `uniqueUserAgent` boolean — Indicates if a unique user agent should be used.
  - `limitScanToSitemap` boolean — Limits the scan to the sitemap.
  - `googleLoginState` boolean — Indicates if Google login is required.
  - `targetPageInputs` TargetPagesScanEntityDto[] — List of target pages to scan.
    - `pageListName` string, required — Name of the page list.
    - `targetType` 'IncludeOnly' | 'Exclude' | 'Target', required — Type of targeting for the URLs
    - `urlType` 'Page' | 'Path' | 'Subdomain', required — Specify which level of inclusion or exclusion is desired
    - `pageUrls` string, required — List of valid URLs, one per line. URLs should start with "https://" or "http://"

## Response `200`

OK

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