Skip to main content
POST
Start a new scan

Authorizations

X-ZeroPath-API-Token-Id
string
header
required
X-ZeroPath-API-Token-Secret
string
header
required

Body

application/json
organizationId
string
repositoryIds
string[]
repositories
object[]
scanType
enum<string>

Optional. Must be FullScan when provided; PR scans are webhook-triggered.

Available options:
FullScan
scanTargetBranch
string

Branch to scan.

prTargetBranch
string

Optional comparison base branch for branch-aware scans.

Response

Scan started successfully