Download OpenAPI specification:Download
The SecUp REST API automates everything the console does for targets, scans, scheduled scans, risks and reports, and manages webhooks.
https://platform.secup.app/api/v1X-SECUP-API-KEY header (Settings → API keys). API access is part of the Premium and Professional plans and of the free trial.page (from 0) and page_size (1–500, default 50); lists return { "data": [...], "total": n }.{ "error": "message" } with the HTTP status (400, 401, 402, 403, 404, 409, 429).Guides, sample code and webhook signature verification: docs.secup.app.
All targets of the workspace, with their open risks by severity and their health grade.
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "value": "string",
- "type": "web",
- "tags": [
- "string"
], - "criticality": 0,
- "description": "string",
- "created_at": 0,
- "last_scan_at": 0,
- "open_risks": {
- "CRITICAL": 0,
- "HIGH": 2,
- "MEDIUM": 5,
- "LOW": 1,
- "INFO": 3
}, - "health": {
- "score": 0,
- "grade": "A"
}, - "source": "external"
}
], - "total": 0
}| value required | string URL, domain, IPv4 address or CIDR range |
| name | string <= 255 characters |
| type | string (TargetType) Enum: "web" "api" "vps" "network" "mobile" |
| tags | Array of strings <= 10 items [ items <= 32 characters ] |
| criticality | integer [ 1 .. 4 ] Default: 2 |
| description | string <= 2000 characters |
{- "tags": [
- "production"
], - "criticality": 3
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "value": "string",
- "type": "web",
- "tags": [
- "string"
], - "criticality": 0,
- "description": "string",
- "created_at": 0
}Values already in the workspace are skipped and listed in skipped_existing.
| values required | Array of strings <= 500 items |
| tags | Array of strings <= 10 items |
{- "tags": [
- "string"
]
}{- "created": 0,
- "skipped_existing": [
- "string"
], - "targets": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "value": "string",
- "type": "web",
- "tags": [
- "string"
], - "criticality": 0,
- "description": "string",
- "created_at": 0
}
]
}| id required | string <uuid> |
| name | string <= 255 characters |
| type | string (TargetType) Enum: "web" "api" "vps" "network" "mobile" |
| tags | Array of strings <= 10 items |
| criticality | integer [ 1 .. 4 ] |
| description | string or null <= 2000 characters |
{- "name": "string",
- "type": "web",
- "tags": [
- "string"
], - "criticality": 1,
- "description": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "value": "string",
- "type": "web",
- "tags": [
- "string"
], - "criticality": 0,
- "description": "string",
- "created_at": 0
}A scan runs one or more scan types against 1 to 100 targets. Life cycle: QUEUED → RUNNING → SUCCEEDED or FAILED; a stopped scan goes through STOPPING to STOPPED; OVER_LIMIT means the monthly target quota was reached and the scan did not run.
| state | string (ScanState) Enum: "QUEUED" "RUNNING" "STOPPING" "STOPPED" "SUCCEEDED" "FAILED" "OVER_LIMIT" |
| target_id | string <uuid> Scans that include this target |
| page | integer >= 0 Default: 0 Page number, from 0 |
| page_size | integer [ 1 .. 500 ] Default: 50 |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "scan_types": [
- "WEB_PASSIVE"
], - "target_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "state": "QUEUED",
- "progress": 0,
- "risks_summary": {
- "property1": 0,
- "property2": 0
}, - "scheduled_by": "e6246919-8693-4e51-94c3-ecab1a25ad83",
- "error": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "total": 0
}Queues a scan and returns it. Active scan types (see GET /scanners, intrusive: true) require authorized: true: you confirm you own the targets or are authorised to test them.
| name | string <= 255 characters |
| scan_types required | Array of strings (ScanTypeId) non-empty Items Enum: "WEB_PASSIVE" "WEB_ACTIVE" "WEB_NATIVE" "WEB_SERVER" "WEB_INJECTION" "API_SCAN" "WORDPRESS" "HEADERS" "EXPOSURE" "WAF" "TECHNOLOGIES" "TECH_CVE" "KNOWN_VULNERABILITIES" "PORTS_TCP" "PORTS_UDP" "TLS" "SUBDOMAINS" "EMAIL_SECURITY" "CODE" |
| target_ids required | Array of strings <uuid> [ 1 .. 100 ] items [ items <uuid > ] |
| authorized | boolean Required for active scan types. |
{- "name": "Weekly external",
- "scan_types": [
- "WEB_PASSIVE",
- "KNOWN_VULNERABILITIES",
- "TLS"
], - "target_ids": [
- "9b3c2f0e-5a7d-4c11-8f2e-0d6b1a9e7c44"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "scan_types": [
- "WEB_PASSIVE"
], - "target_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "state": "QUEUED",
- "progress": 0,
- "risks_summary": {
- "property1": 0,
- "property2": 0
}, - "scheduled_by": "e6246919-8693-4e51-94c3-ecab1a25ad83",
- "error": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "scan_types": [
- "WEB_PASSIVE"
], - "target_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "state": "QUEUED",
- "progress": 0,
- "risks_summary": {
- "property1": 0,
- "property2": 0
}, - "scheduled_by": "e6246919-8693-4e51-94c3-ecab1a25ad83",
- "error": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "scan_types": [
- "WEB_PASSIVE"
], - "target_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "state": "QUEUED",
- "progress": 0,
- "risks_summary": {
- "property1": 0,
- "property2": 0
}, - "scheduled_by": "e6246919-8693-4e51-94c3-ecab1a25ad83",
- "error": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "scan_types": [
- "WEB_PASSIVE"
], - "target_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "enabled": true,
- "frequency": "ONCE",
- "every_days": 0,
- "email_policy": "ALWAYS",
- "next_run_at": "2019-08-24T14:15:22Z",
- "last_run_at": "2019-08-24T14:15:22Z",
- "last_status": "string",
- "last_scan_id": "880bc00e-8f2f-43dc-9a1f-f6ff660d0521",
- "last_findings_count": 0
}
], - "total": 0
}| name | string <= 255 characters |
| scan_types | Array of strings (ScanTypeId) Items Enum: "WEB_PASSIVE" "WEB_ACTIVE" "WEB_NATIVE" "WEB_SERVER" "WEB_INJECTION" "API_SCAN" "WORDPRESS" "HEADERS" "EXPOSURE" "WAF" "TECHNOLOGIES" "TECH_CVE" "KNOWN_VULNERABILITIES" "PORTS_TCP" "PORTS_UDP" "TLS" "SUBDOMAINS" "EMAIL_SECURITY" "CODE" |
| target_ids | Array of strings <uuid> [ 1 .. 100 ] items [ items <uuid > ] |
| authorized | boolean Required with active scan types. |
| frequency | string Default: "WEEKLY" Enum: "ONCE" "DAILY" "WEEKLY" "MONTHLY" "QUARTERLY" "CUSTOM" |
| every_days | integer [ 1 .. 365 ] With |
| start_at | string <date-time> First run (default in one minute). |
| email_policy | string Default: "ALWAYS" Enum: "ALWAYS" "ON_CHANGES" "NEVER" |
| enabled | boolean |
{- "name": "Weekly external scan",
- "scan_types": [
- "WEB_PASSIVE",
- "KNOWN_VULNERABILITIES"
], - "target_ids": [
- "9b3c2f0e-5a7d-4c11-8f2e-0d6b1a9e7c44"
], - "frequency": "WEEKLY",
- "start_at": "2026-12-07T02:00:00Z",
- "email_policy": "ON_CHANGES"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "scan_types": [
- "WEB_PASSIVE"
], - "target_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "enabled": true,
- "frequency": "ONCE",
- "every_days": 0,
- "email_policy": "ALWAYS",
- "next_run_at": "2019-08-24T14:15:22Z",
- "last_run_at": "2019-08-24T14:15:22Z",
- "last_status": "string",
- "last_scan_id": "880bc00e-8f2f-43dc-9a1f-f6ff660d0521",
- "last_findings_count": 0
}Send only the fields to change. enabled pauses or resumes it.
| id required | string <uuid> |
| name | string <= 255 characters |
| scan_types | Array of strings (ScanTypeId) Items Enum: "WEB_PASSIVE" "WEB_ACTIVE" "WEB_NATIVE" "WEB_SERVER" "WEB_INJECTION" "API_SCAN" "WORDPRESS" "HEADERS" "EXPOSURE" "WAF" "TECHNOLOGIES" "TECH_CVE" "KNOWN_VULNERABILITIES" "PORTS_TCP" "PORTS_UDP" "TLS" "SUBDOMAINS" "EMAIL_SECURITY" "CODE" |
| target_ids | Array of strings <uuid> [ 1 .. 100 ] items [ items <uuid > ] |
| authorized | boolean Required with active scan types. |
| frequency | string Default: "WEEKLY" Enum: "ONCE" "DAILY" "WEEKLY" "MONTHLY" "QUARTERLY" "CUSTOM" |
| every_days | integer [ 1 .. 365 ] With |
| start_at | string <date-time> First run (default in one minute). |
| email_policy | string Default: "ALWAYS" Enum: "ALWAYS" "ON_CHANGES" "NEVER" |
| enabled | boolean |
{- "name": "string",
- "scan_types": [
- "WEB_PASSIVE"
], - "target_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "authorized": true,
- "frequency": "ONCE",
- "every_days": 1,
- "start_at": "2019-08-24T14:15:22Z",
- "email_policy": "ALWAYS",
- "enabled": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "scan_types": [
- "WEB_PASSIVE"
], - "target_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "enabled": true,
- "frequency": "ONCE",
- "every_days": 0,
- "email_policy": "ALWAYS",
- "next_run_at": "2019-08-24T14:15:22Z",
- "last_run_at": "2019-08-24T14:15:22Z",
- "last_status": "string",
- "last_scan_id": "880bc00e-8f2f-43dc-9a1f-f6ff660d0521",
- "last_findings_count": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "scan_types": [
- "WEB_PASSIVE"
], - "target_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "state": "QUEUED",
- "progress": 0,
- "risks_summary": {
- "property1": 0,
- "property2": 0
}, - "scheduled_by": "e6246919-8693-4e51-94c3-ecab1a25ad83",
- "error": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}Sorted by severity, then most recently seen (sort=recent for newest first). With group_by=definition, returns one line per kind of weakness with the targets affected.
| status | string Example: status=OPEN One or more, comma-separated |
| severity | string Example: severity=CRITICAL,HIGH One or more, comma-separated |
| target_id | string One or more target ids, comma-separated |
| scan_type | string One or more scan type ids, comma-separated |
| q | string Text searched in the title and location |
| sort | string Value: "recent" |
| group_by | string Value: "definition" |
| page | integer >= 0 Default: 0 Page number, from 0 |
| page_size | integer [ 1 .. 500 ] Default: 50 |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
- "definition_key": "string",
- "scan_type": "WEB_PASSIVE",
- "title": "string",
- "severity": "CRITICAL",
- "certainty": "string",
- "cve_ids": [
- "CVE-2024-6387"
], - "cwe": "string",
- "location": "string",
- "parameter": "string",
- "description": "string",
- "solution": "string",
- "evidence": { },
- "status": "OPEN",
- "status_reason": "string",
- "first_seen_at": "2019-08-24T14:15:22Z",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "closed_at": "2019-08-24T14:15:22Z",
- "times_seen": 0,
- "fix": {
- "id": "string",
- "label": "string"
}
}
], - "total": 0
}Includes the evidence and the history of status changes.
| id required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
- "definition_key": "string",
- "scan_type": "WEB_PASSIVE",
- "title": "string",
- "severity": "CRITICAL",
- "certainty": "string",
- "cve_ids": [
- "CVE-2024-6387"
], - "cwe": "string",
- "location": "string",
- "parameter": "string",
- "description": "string",
- "solution": "string",
- "evidence": { },
- "status": "OPEN",
- "status_reason": "string",
- "first_seen_at": "2019-08-24T14:15:22Z",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "closed_at": "2019-08-24T14:15:22Z",
- "times_seen": 0,
- "fix": {
- "id": "string",
- "label": "string"
}
}| id required | string <uuid> |
| reason | string Kept in the risk history. |
{- "reason": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
- "definition_key": "string",
- "scan_type": "WEB_PASSIVE",
- "title": "string",
- "severity": "CRITICAL",
- "certainty": "string",
- "cve_ids": [
- "CVE-2024-6387"
], - "cwe": "string",
- "location": "string",
- "parameter": "string",
- "description": "string",
- "solution": "string",
- "evidence": { },
- "status": "OPEN",
- "status_reason": "string",
- "first_seen_at": "2019-08-24T14:15:22Z",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "closed_at": "2019-08-24T14:15:22Z",
- "times_seen": 0,
- "fix": {
- "id": "string",
- "label": "string"
}
}| id required | string <uuid> |
| reason | string Kept in the risk history. |
{- "reason": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
- "definition_key": "string",
- "scan_type": "WEB_PASSIVE",
- "title": "string",
- "severity": "CRITICAL",
- "certainty": "string",
- "cve_ids": [
- "CVE-2024-6387"
], - "cwe": "string",
- "location": "string",
- "parameter": "string",
- "description": "string",
- "solution": "string",
- "evidence": { },
- "status": "OPEN",
- "status_reason": "string",
- "first_seen_at": "2019-08-24T14:15:22Z",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "closed_at": "2019-08-24T14:15:22Z",
- "times_seen": 0,
- "fix": {
- "id": "string",
- "label": "string"
}
}| id required | string <uuid> |
| reason | string Kept in the risk history. |
{- "reason": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
- "definition_key": "string",
- "scan_type": "WEB_PASSIVE",
- "title": "string",
- "severity": "CRITICAL",
- "certainty": "string",
- "cve_ids": [
- "CVE-2024-6387"
], - "cwe": "string",
- "location": "string",
- "parameter": "string",
- "description": "string",
- "solution": "string",
- "evidence": { },
- "status": "OPEN",
- "status_reason": "string",
- "first_seen_at": "2019-08-24T14:15:22Z",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "closed_at": "2019-08-24T14:15:22Z",
- "times_seen": 0,
- "fix": {
- "id": "string",
- "label": "string"
}
}| ids required | Array of strings <uuid> [ 1 .. 500 ] items [ items <uuid > ] |
| action required | string Enum: "accept" "false_positive" "reopen" |
| reason | string |
{- "ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "action": "accept",
- "reason": "string"
}{- "updated": 0
}Builds a report from the risk register (up to 5,000 risks). By default: the open risks of all targets. With scan_id: the risks that scan saw. CSV and JSON need the Premium or Professional plan.
| format | string Default: "pdf" Enum: "pdf" "html" "csv" "json" |
| scan_id | string <uuid> |
| target_ids | string Comma-separated target ids |
| tags | string Comma-separated tags; targets with any of them |
| scan_type | string |
| severity | string Example: severity=CRITICAL,HIGH |
| status | string Default: "OPEN" |
Endpoints that receive signed events (administrator keys). See Webhooks for signature verification.
A scan was queued.
| id | string <uuid> Delivery id; ignore duplicates. |
| event | string (WebhookEventName) Enum: "scan.created" "scan.updated" "risk.created" "risk.updated" |
| created_at | string <date-time> |
object |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "event": "scan.created",
- "created_at": "2019-08-24T14:15:22Z",
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "state": "QUEUED",
- "progress": 0,
- "scan_types": [
- "WEB_PASSIVE"
], - "target_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "risks_summary": {
- "property1": 0,
- "property2": 0
}, - "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
}A scan changed state.
| id | string <uuid> Delivery id; ignore duplicates. |
| event | string (WebhookEventName) Enum: "scan.created" "scan.updated" "risk.created" "risk.updated" |
| created_at | string <date-time> |
object |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "event": "scan.created",
- "created_at": "2019-08-24T14:15:22Z",
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "state": "QUEUED",
- "progress": 0,
- "scan_types": [
- "WEB_PASSIVE"
], - "target_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "risks_summary": {
- "property1": 0,
- "property2": 0
}, - "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
}A scan found a new risk.
| id | string <uuid> Delivery id; ignore duplicates. |
| event | string (WebhookEventName) Enum: "scan.created" "scan.updated" "risk.created" "risk.updated" |
| created_at | string <date-time> |
object |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "event": "scan.created",
- "created_at": "2019-08-24T14:15:22Z",
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
- "title": "string",
- "severity": "CRITICAL",
- "status": "OPEN",
- "scan_type": "WEB_PASSIVE",
- "location": "string",
- "parameter": "string",
- "cve_ids": [
- "string"
], - "first_seen_at": "2019-08-24T14:15:22Z",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "closed_at": "2019-08-24T14:15:22Z"
}
}A risk changed status.
| id | string <uuid> Delivery id; ignore duplicates. |
| event | string (WebhookEventName) Enum: "scan.created" "scan.updated" "risk.created" "risk.updated" |
| created_at | string <date-time> |
object |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "event": "scan.created",
- "created_at": "2019-08-24T14:15:22Z",
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
- "title": "string",
- "severity": "CRITICAL",
- "status": "OPEN",
- "scan_type": "WEB_PASSIVE",
- "location": "string",
- "parameter": "string",
- "cve_ids": [
- "string"
], - "first_seen_at": "2019-08-24T14:15:22Z",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "closed_at": "2019-08-24T14:15:22Z"
}
}{- "events": [
- "scan.created"
], - "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "events": [
- "scan.created"
], - "enabled": true,
- "last_status": 0,
- "last_error": "string",
- "last_sent_at": "2019-08-24T14:15:22Z",
- "failures": 0,
- "created_at": "2019-08-24T14:15:22Z"
}
]
}Returns the signing secret once. At most 10 webhooks per workspace; the URL must be public.
| url required | string <uri> |
| events | Array of strings (WebhookEventName) Items Enum: "scan.created" "scan.updated" "risk.created" "risk.updated" Default: all events |
{- "events": [
- "scan.created"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "events": [
- "scan.created"
], - "enabled": true,
- "last_status": 0,
- "last_error": "string",
- "last_sent_at": "2019-08-24T14:15:22Z",
- "failures": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "secret": "whsec_…"
}| id required | string <uuid> |
| url | string <uri> |
| events | Array of strings (WebhookEventName) Items Enum: "scan.created" "scan.updated" "risk.created" "risk.updated" |
| enabled | boolean |
{- "events": [
- "scan.created"
], - "enabled": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "events": [
- "scan.created"
], - "enabled": true,
- "last_status": 0,
- "last_error": "string",
- "last_sent_at": "2019-08-24T14:15:22Z",
- "failures": 0,
- "created_at": "2019-08-24T14:15:22Z"
}