curl --request GET \
--url https://api.projectdiscovery.io/v1/automations/{event} \
--header 'X-API-Key: <api-key>'
{
"message": "<string>",
"automation": {
"id": 123,
"name": "<string>",
"event": "<string>",
"status": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"data": {
"targets": [
"<string>"
],
"templates": [
"<string>"
],
"name": "<string>",
"alerting_config_ids": [
"<string>"
],
"scan_config_ids": [
"<string>"
],
"reporting_config_ids": [
"<string>"
],
"early_templates": [
"<string>"
],
"exclude_targets": [
"<string>"
],
"enumeration_ids": [
{
"id": "<string>"
}
],
"disable_global_alert_config": true,
"disable_global_report_config": true,
"disable_global_scan_config": true,
"socks5_proxy": "<string>",
"scan_id": "<string>",
"update_existing_scan": true,
"scan_all_assets": true
}
}
}
curl --request GET \
--url https://api.projectdiscovery.io/v1/automations/{event} \
--header 'X-API-Key: <api-key>'
{
"message": "<string>",
"automation": {
"id": 123,
"name": "<string>",
"event": "<string>",
"status": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"data": {
"targets": [
"<string>"
],
"templates": [
"<string>"
],
"name": "<string>",
"alerting_config_ids": [
"<string>"
],
"scan_config_ids": [
"<string>"
],
"reporting_config_ids": [
"<string>"
],
"early_templates": [
"<string>"
],
"exclude_targets": [
"<string>"
],
"enumeration_ids": [
{
"id": "<string>"
}
],
"disable_global_alert_config": true,
"disable_global_report_config": true,
"disable_global_scan_config": true,
"socks5_proxy": "<string>",
"scan_id": "<string>",
"update_existing_scan": true,
"scan_all_assets": true
}
}
}
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
Example response
The response is of type object
.
Was this page helpful?