curl --request POST \
--url https://api.projectdiscovery.io/v1/scans \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"targets": [
"<string>"
],
"templates": [
"<string>"
],
"assets": [
"<string>"
],
"private_templates": [
{
"name": "<string>",
"contents": "<string>"
}
],
"name": "<string>",
"recommended": true,
"all": true,
"alerting_config_ids": [
"<string>"
],
"scan_config_ids": [
"<string>"
],
"reporting_config_ids": [
"<string>"
],
"early_templates": [
"<string>"
],
"exclude_targets": [
"<string>"
],
"enumeration_ids": [
{
"id": "<string>"
}
],
"schedule_only": true,
"disable_global_alert_config": true,
"disable_global_report_config": true,
"disable_global_scan_config": true,
"socks5_proxy": "<string>",
"agent_id": "<string>",
"agent_tags": [
"<string>"
],
"agent_networks": [
"<string>"
],
"agent_behavior": "distribute",
"automatic_scan": true,
"scan_all_assets": true,
"exclusions": [
"<string>"
],
"asset_filters": {
"is_tech": true,
"is_favicon": true,
"is_new": true,
"labels": "<string>",
"host": "<string>",
"port": "<string>",
"status_code": "<string>",
"content_length": "<string>",
"title": "<string>",
"domain": [
"<string>"
],
"cname": "<string>",
"technologies": "<string>",
"ip": "<string>",
"is_screenshot": true,
"time": "last_day",
"start_date": "2023-12-25",
"end_date": "2023-12-25",
"custom_filter": "<string>",
"search": "<string>",
"enumeration_ids": [
"<string>"
],
"only_dns": true,
"only_ip": true
}
}
'