Scans
Scan Websites
Use this API to start scans for the specified domains.
post/api/cmp/v1/webscans
Request
- Base URLhttps://hostname
- URLhttps://hostname/api/cmp/v1/webscans
- AuthOAuth 2Client credentialsToken URL: https://{hostname}/api/access/v1/oauth/token scopes: COOKIE
Query parameters
externalOrgIdstring
The external organization identifier.
Request body
Example request
[
{
"domain": "amazon.com",
"numberOfPages": 100,
"includedQueryParams": "_vercel_share=Hcj4MQ8SLN8pxXPrw7wbrCfxXBuZnPa6",
"siteMapsUris": "https://preprod.johnniewalker.com/sitemap.xml ",
"geoLocation": "northeurope",
"captureDelayedCookies": true,
"delayTimeInSeconds": 3,
"targetPageInputs": [
{
"pageListName": "page list 1",
"targetType": "Target",
"urlType": "Page",
"pageUrls": "https://service.braun.com/hr/en/products/6032"
}
]
}
]Response
OK
Example response
[
{
"message": "Scan initiated successfully.",
"consentPolicyId": "f2229953-b4b5-4042-8cb9-b78038cc4c46",
"domainId": "f2229953-b4b5-4042-8cb9-b78038cc4c46",
"scanId": "f2229953-b4b5-4042-8cb9-b78038cc4c46",
"scanType": 1
}
]Changes
No recorded changes to this operation across all 1 revision of this API.