POST
/
v1
/
scans
curl --request POST \
  --url https://api.projectdiscovery.io/v1/scans \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "alerting_config_ids": [
    "<string>"
  ],
  "all": true,
  "assets": [
    "<string>"
  ],
  "early_templates": [
    "<string>"
  ],
  "enumeration_ids": [
    {
      "id": "<string>",
      "type": [
        "<string>"
      ]
    }
  ],
  "name": "<string>",
  "private_templates": [
    {
      "contents": "<string>",
      "name": "<string>"
    }
  ],
  "recommended": true,
  "reporting_config_ids": [
    "<string>"
  ],
  "scan_config_ids": [
    "<string>"
  ],
  "targets": [
    "<string>"
  ],
  "templates": [
    "<string>"
  ]
}'
{
  "id": "<string>",
  "message": "<string>"
}

Authorizations

X-API-Key
string
headerrequired

Body

application/json
alerting_config_ids
string[]
all
boolean
assets
string[]
early_templates
string[]
enumeration_ids
object[]
name
string
private_templates
object[]
recommended
boolean
reporting_config_ids
string[]
scan_config_ids
string[]
targets
string[]
templates
string[]

Response

200 - application/json
id
string
message
string
required