CentralCSP
APITools

Start a scan

Starts a security scan of a domain or URL and returns its identifier. Scanning takes a while, so poll GET /v1/tools/scans/{scanId} until the result is ready. Requires no authentication, and is limited to 30 requests per minute per IP address.

POST
/v1/tools/scans

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

target*string

Domain or URL to scan.

Length1 <= length
followRedirects?boolean

Follow redirects and scan where they land.

Defaulttrue
kpi?boolean

Also compute summary indicators for the scan.

Defaultfalse
public?boolean

Whether the result may be listed publicly.

Defaulttrue

Response Body

application/json

curl -X POST "https://api-next.centralcsp.com/v1/tools/scans" \  -H "Content-Type: application/json" \  -d '{    "target": "centralcsp.com"  }'
{}