Overview
The ZeroPath REST API provides programmatic access to security scanning capabilities for your repositories. Manage organizations, repositories, scans, and security issues across multiple version control systems.Key Capabilities
Manage Organizations
Create and manage organizations and installations
Repository Operations
Add repositories from GitHub, GitLab, Bitbucket and scan them
Security Scans
Trigger scans on repositories and pull requests
Issue Management
Search and manage security issues found in your code
Authentication
All API requests require authentication using API token headers:Required Headers
Example Request
Base URLs
All API endpoints are relative to: Production:Core Resources
Organizations
Manage organizations and their settings. Key Operations:POST /organizations
- Create a new organizationGET /organizations
- List organizationsDELETE /organizations/{id}
- Delete an organization
Repositories
Add and manage repositories from various VCS providers. Key Operations:POST /repositories
- Add a repositoryGET /repositories
- List repositoriesDELETE /repositories/{id}
- Remove a repositoryPOST /repositories/{id}/scan
- Trigger a repository scan
- GitHub
- GitLab
- Bitbucket
- Generic Git repositories
Scans
Initiate and monitor security scans. Key Operations:POST /repositories/{id}/scan
- Scan a repositoryPOST /repositories/{id}/scan_pr
- Scan a pull requestGET /scans
- List scansGET /scans/{id}
- Get scan details
Issues
Search and manage security issues found in scans. Key Operations:GET /issues/search
- Search for security issuesGET /issues/{id}
- Get issue detailsPOST /issues/{id}/status
- Update issue status
Schedules
Manage automated scanning schedules. Key Operations:POST /schedules
- Create a scan scheduleGET /schedules
- List schedulesDELETE /schedules/{id}
- Delete a schedule
Rules
Create and manage custom security rules. Key Operations:POST /rules
- Create a custom ruleGET /rules
- List custom rulesPUT /rules/{id}
- Update a rule
Stats
Retrieve statistics and metrics. Key Operations:GET /stats
- Get organization statistics
Quick Start
1
Get API Credentials
Generate API token credentials from your ZeroPath dashboard
2
Create an Organization
3
Add a Repository
4
Trigger a Scan
The detailed API endpoints documentation below is automatically generated from our OpenAPI specification.