Web Scanners

Manage web scanners that crawl your sites for trackers, cookies, and third-party requests. Create a scanner against a root domain, edit its crawl scope, trigger a scan on demand, or delete it (which also removes its suppression rules).

GET
/rest/v1/web-scanners
AuthorizationBearer <token>

Ours Privacy API key

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://app.oursprivacy.com/rest/v1/web-scanners"
{
  "entities": [
    {
      "id": "string",
      "accountId": "string",
      "name": "string",
      "status": "Disabled",
      "rootDomain": "string",
      "excludedPatterns": [
        "string"
      ],
      "includedUrls": [
        "string"
      ],
      "urlLimit": 0,
      "scanStatus": "idle",
      "lastScannedAt": "string",
      "lastScanStartedAt": "string",
      "lastRunCookieCount": 0,
      "lastRunRequestCount": 0,
      "lastRunSuccessUrlCount": 0,
      "lastRunHighRiskRequestCount": 0,
      "createdAt": "string",
      "updatedAt": "string"
    }
  ]
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
POST
/rest/v1/web-scanners
*object
AuthorizationBearer <token>

Ours Privacy API key

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://app.oursprivacy.com/rest/v1/web-scanners" \  -H "Content-Type: application/json" \  -d '{    "rootDomain": "string"  }'
{
  "id": "string",
  "accountId": "string",
  "name": "string",
  "status": "Disabled",
  "rootDomain": "string",
  "excludedPatterns": [
    "string"
  ],
  "includedUrls": [
    "string"
  ],
  "urlLimit": 0,
  "scanStatus": "idle",
  "lastScannedAt": "string",
  "lastScanStartedAt": "string",
  "lastRunCookieCount": 0,
  "lastRunRequestCount": 0,
  "lastRunSuccessUrlCount": 0,
  "lastRunHighRiskRequestCount": 0,
  "createdAt": "string",
  "updatedAt": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
GET
/rest/v1/web-scanners/{id}
AuthorizationBearer <token>

Ours Privacy API key

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://app.oursprivacy.com/rest/v1/web-scanners/string"
{
  "id": "string",
  "accountId": "string",
  "name": "string",
  "status": "Disabled",
  "rootDomain": "string",
  "excludedPatterns": [
    "string"
  ],
  "includedUrls": [
    "string"
  ],
  "urlLimit": 0,
  "scanStatus": "idle",
  "lastScannedAt": "string",
  "lastScanStartedAt": "string",
  "lastRunCookieCount": 0,
  "lastRunRequestCount": 0,
  "lastRunSuccessUrlCount": 0,
  "lastRunHighRiskRequestCount": 0,
  "createdAt": "string",
  "updatedAt": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
PATCH
/rest/v1/web-scanners/{id}
*object
AuthorizationBearer <token>

Ours Privacy API key

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://app.oursprivacy.com/rest/v1/web-scanners/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "accountId": "string",
  "name": "string",
  "status": "Disabled",
  "rootDomain": "string",
  "excludedPatterns": [
    "string"
  ],
  "includedUrls": [
    "string"
  ],
  "urlLimit": 0,
  "scanStatus": "idle",
  "lastScannedAt": "string",
  "lastScanStartedAt": "string",
  "lastRunCookieCount": 0,
  "lastRunRequestCount": 0,
  "lastRunSuccessUrlCount": 0,
  "lastRunHighRiskRequestCount": 0,
  "createdAt": "string",
  "updatedAt": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
DELETE
/rest/v1/web-scanners/{id}
AuthorizationBearer <token>

Ours Privacy API key

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://app.oursprivacy.com/rest/v1/web-scanners/string"
{
  "id": "string",
  "deleted": true
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
POST
/rest/v1/web-scanners/{id}/trigger
AuthorizationBearer <token>

Ours Privacy API key

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://app.oursprivacy.com/rest/v1/web-scanners/string/trigger"
{
  "id": "string",
  "accountId": "string",
  "name": "string",
  "status": "Disabled",
  "rootDomain": "string",
  "excludedPatterns": [
    "string"
  ],
  "includedUrls": [
    "string"
  ],
  "urlLimit": 0,
  "scanStatus": "idle",
  "lastScannedAt": "string",
  "lastScanStartedAt": "string",
  "lastRunCookieCount": 0,
  "lastRunRequestCount": 0,
  "lastRunSuccessUrlCount": 0,
  "lastRunHighRiskRequestCount": 0,
  "createdAt": "string",
  "updatedAt": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}

How is this guide?