API Reference
REST API for every Sectora feature. JSON in, JSON out. Authenticated with API keys; rate-limited per key. Same API the dashboard uses.
The interactive explorer lets you try every endpoint live against your account. The page below is the static reference summarizing what exists.
Base URL
https://api.sectora.ioAuthentication
Authorization: Bearer sk_live_...
# or
X-API-Key: sk_live_...Generate keys at Settings → API Keys. Each key has explicit scopes — see Authentication for the scope catalogue.
A key is bound to the organization it was created in and acts as the user who created it. Reads (scans, findings, STIX scan bundles) return the scans of that user, excluding any scan explicitly attributed to a different organization; a key minted in an MSP also reads the scans attributed to its clients. If the user's primary organization is not the key's organization, the key is refused with 403 key_org_mismatch; creating a scan additionally requires that organization to be their active workspace. A key created while another workspace was selected must be re-created from the primary organization.
Endpoints API keys can call today
These endpoints accept an API key now. Each needs the scope shown; a key without it gets 403 insufficient_scope.
# Scans and findings
GET /api/v1/scans scans:read List scans (?status=, ?limit= up to 100)
POST /api/v1/scans scans:create Start a DAST scan
GET /api/v1/scans/:id scans:read Scan details
GET /api/v1/findings scans:read Findings across your scans
?severity=high,critical ?status=open|confirmed
?domain=example.com ?since=<ISO date> ?limit= up to 100
# Threat intelligence
GET /api/v1/threat-intel/cve/:cve_id threat-intel:read CVE detail (CVSS, EPSS, KEV, exploits)
POST /api/v1/threat-intel/cve/bulk threat-intel:read {"cve_ids": [...]}
GET /api/v1/threat-intel/search threat-intel:read ?q= ?severity= ?min_cvss= ?max_cvss= ?has_exploit= ?is_kev= ?limit= ?offset=
GET /api/v1/threat-intel/trending threat-intel:read ?limit=
GET /api/v1/threat-intel/stats threat-intel:read Database totals
GET /api/v1/threat-intel/kev threat-intel:read CISA KEV catalog (?limit= ?offset=)
GET /api/v1/threat-intel/kev/recent threat-intel:read Recent KEV additions (?days= ?limit=)
GET /api/v1/threat-intel/epss/:cve_id threat-intel:read EPSS score
GET /api/v1/threat-intel/epss/high-risk threat-intel:read Highest-EPSS CVEs (?limit= ?offset=)
GET /api/v1/threat-intel/weaponization/:cve_id threat-intel:read Weaponization assessment
GET /api/v1/threat-intel/ip/:ip threat-intel:read IP reputation
POST /api/v1/threat-intel/ip/bulk threat-intel:read {"ips": [...]}
POST /api/v1/threat-intel/dependency threat-intel:read {"name", "version", "ecosystem"}
POST /api/v1/threat-intel/tech-risk threat-intel:read {"technologies": [{"name", "version"}]}
# STIX 2.1 export
GET /api/v1/stix/bundle/cve/:cve_id threat-intel:read
POST /api/v1/stix/bundle/cve/bulk threat-intel:read
GET /api/v1/stix/bundle/scan/:scan_id threat-intel:read
POST /api/v1/stix/bundle/export threat-intel:read
# Shield (read-only)
GET /api/v1/shield/sites shield:read
GET /api/v1/shield/posture shield:read
GET /api/v1/shield/sites/:id/report shield:read (also /report/pdf)
GET /api/v1/shield/sites/:id/sessions shield:read
GET /api/v1/shield/sites/:id/devices shield:read
GET /api/v1/shield/sites/:id/honeypot-hits shield:readThe /api/v1/threat-intel/* endpoints also work without a key, limited to 10 requests per day per IP address.
Endpoint categories
Scans
GET /api/v1/scans List all scans
POST /api/v1/scans Create DAST scan
GET /api/v1/scans/:id Get scan details
DELETE /api/v1/scans/:id Cancel scan
GET /api/v1/scans/:id/diff Diff vs baseline
GET /api/v1/scans/:id/coverage Coverage report
POST /api/v1/sast/scans Create SAST scan
POST /api/v1/sca/scans Create SCA scan
POST /api/v1/secrets/scans Create Secrets scan
POST /api/v1/api-scans Create API scan
POST /api/v1/cve-scans Create CVE-targeted scan
POST /api/v1/scan-schedules Create schedule
GET /api/v1/scan-schedules List schedules
PATCH /api/v1/scan-schedules/:id Update schedule
DELETE /api/v1/scan-schedules/:id Delete scheduleVulnerabilities
GET /api/v1/vulnerabilities List + filter
GET /api/v1/vulnerabilities/:id Detail
PATCH /api/v1/vulnerabilities/:id Update status, FP, notes
POST /api/v1/vulnerabilities/:id/verify Run verify-fix
POST /api/v1/vulnerabilities/:id/ticket Create tracker ticket
POST /api/v1/vulnerabilities/:id/virtual-patch Deploy Shield ruleShield
See Shield API for the dedicated breakdown.
Integrations + identity
GET /api/v1/integrations List connected providers
POST /api/v1/integrations/:provider/connect OAuth start
DELETE /api/v1/integrations/:id Disconnect
GET /api/v1/me Current user
GET /api/v1/orgs/current Current org
GET /api/v1/orgs/current/members List members
POST /api/v1/orgs/current/invite Invite userWebhooks
GET /api/v1/webhooks List webhooks
POST /api/v1/webhooks Create webhook
DELETE /api/v1/webhooks/:id Delete
# Inbound (Sectora receives):
POST /api/v1/webhooks/stripe Stripe billing events
POST /api/v1/webhooks/github GitHub repo eventsStandards
- Pagination — cursor-based.
?limit=50&cursor=...; next cursor in responsepagination.next. - Filtering — query params with the same name as the field. Multi-value with comma (e.g.
?severity=high,critical). - Errors —
{ "success": false, "error": "insufficient_scope", "message": "API key missing required scope: scans:read" }with the matching HTTP status.erroris a stable machine-readable code (for examplemissing_api_key,invalid_api_key,expired_api_key,insufficient_scope,key_org_mismatch,rate_limit_exceeded);messageis human-readable text and is not present on every error. - Idempotency — mutating endpoints accept
Idempotency-Keyheader; same key within 24h replays the original response. - Rate limits — keys created in Settings → API Keys allow 300 requests per minute and 10,000 per day. Over the limit you get
429withrate_limit_exceeded(per minute) ordaily_limit_exceeded(per day) and aRetry-Afterheader. Limits are counted per server instance, so treat them as ceilings rather than exact quotas. - Versioning — URL-based (
/api/v1/). v1 is stable; deprecations announced 6 months in advance.
SDKs
- Node.js —
npm install @sectora/sdk - Python —
pip install sectora - Go —
go get github.com/sectora/sectora-go - Terraform provider —
sectora/sectoraon the registry; manage scans + Shield rules as IaC