API Reference
- Introduction
- Assets
- GETGet Enumeration List
- POSTCreate Enumeration
- GETGet Enumeration
- DELDelete Enumeration
- DELDelete Bulk Enumeration
- PATCHUpdate Enumeration
- GETGet Enumeration Contents
- GETGet All Enumeration Contents
- POSTStop Enumeration
- POSTRescan Enumeration
- GETExport Enumeration
- PATCHUpdate enumeration config
- GETGet Enumeration Schedules
- POSTSet Enumeration Schedule
- DELDelete Enumeration Schedule
- GETGet enumeration stats
- GETGet all enumeration stats
- GETGet enumeration config
- GETGroup assets by filters
- GETGroup assets by filters for an enumeration
- GETExport Enumeration of user
- POSTUpload Asset
- PATCHUpdate Asset Content
- GETGet Asset Metadata
- GETGet Asset Content
- DELDelete Asset
- GET
- Templates
- Scans
- Configurations
- Results
- Logs
- Users
Assets
Create Enumeration
Create a new enumeration
POST
/
v1
/
asset
/
enumerate
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
}
Authorizations
Headers
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
Body
application/json
Response
200
application/json
OK
The response is of type object
.
Was this page helpful?
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
}