curl --request POST \
--url https://api.projectdiscovery.io/v1/asset/enumerate \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"root_domains": [
"<string>"
],
"enrichment_inputs": [
"<string>"
],
"cloudlist_config_ids": [
"<string>"
],
"name": "<string>",
"steps": [
"dns_passive"
],
"enumeration_ports": "<string>",
"alerting_config_ids": [
"<string>"
],
"disable_global_alert_config": true,
"exclude_targets": [
"<string>"
],
"enumeration_config": {
"follow-redirect": true,
"ports": "<string>"
}
}'
{
"id": "<string>",
"truncated-scan-targets": 123
}
Create a new enumeration
curl --request POST \
--url https://api.projectdiscovery.io/v1/asset/enumerate \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"root_domains": [
"<string>"
],
"enrichment_inputs": [
"<string>"
],
"cloudlist_config_ids": [
"<string>"
],
"name": "<string>",
"steps": [
"dns_passive"
],
"enumeration_ports": "<string>",
"alerting_config_ids": [
"<string>"
],
"disable_global_alert_config": true,
"exclude_targets": [
"<string>"
],
"enumeration_config": {
"follow-redirect": true,
"ports": "<string>"
}
}'
{
"id": "<string>",
"truncated-scan-targets": 123
}
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
OK
The response is of type object
.
Was this page helpful?