POST
/
v1
/
scans
/
validate
Validate scan token before starting scan
curl --request POST \
  --url https://api.projectdiscovery.io/v1/scans/validate \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "targets": [
    "<string>"
  ],
  "enumeration_ids": [
    {
      "id": "<string>"
    }
  ]
}'
{
  "unique_asset_to_scan": 123,
  "total_asset_to_scan": 123
}

Authorizations

X-API-Key
string
header
required

Headers

X-Team-Id
string

Body

application/json

Response

200
application/json

OK

The response is of type object.