API Reference
Build integrations and automate workflows with the FOSSA REST API.
Overview
The FOSSA REST API lets you query and manage your FOSSA data programmatically (projects, revisions, issues, vulnerabilities, release groups, and reports) so you can automate workflows from CI/CD or custom tooling.
Introduction to the FOSSA API
Generate an API key and make your first request to the FOSSA REST API.
Authentication
Authenticate to the FOSSA API using an API token in the Authorization header.
Errors
Interpret FOSSA API error responses, 4xx codes indicate client errors, 5xx codes indicate server-side issues.
Webhook Notifications
Automatically re-analyze FOSSA projects on a schedule or via an inbound webhook trigger.
CPE Lookup API
Query FOSSA's vulnerability database for security metadata and CVEs by CPE string, no project scan required.
Endpoint Reference
Browse all REST endpoints by category.
Usage examples
Managing issues
Query, filter, bulk-ignore, and manage auto-ignore rules across licensing, security, and quality issues.
Managing users and teams
EnterpriseCreate users, manage team membership, and query team projects and release groups via the FOSSA API.
Initiating a binary scan
Upload a binary or archive and start a decomposition scan through the FOSSA API, then poll for completion.
Generating reports
Trigger org-wide reports via the API: audit/due diligence reports and global issue CSV exports.
Creating Jira tickets
Automatically create Jira tickets from FOSSA issues without using the UI.
Downloading attribution reports
Download project attribution (licensing) reports in TXT, HTML, Markdown, PDF, or CSV.
Modifying release groups
Add projects to a release group and update the projects within an existing release group via the API.
Retrieving the latest revision
Retrieve the latest revision for each branch of a project via the API.
Rotating access tokens
Best practices for managing and rotating FOSSA access tokens securely.
What you can do with the API
- Automate tasks in your CI/CD pipeline.
- Query and manage your dependencies, projects, and revisions.
- Generate custom documents and reports.
- Build custom features and integrations on top of FOSSA data.
Start here
- Introduction: generate an API key and make your first request.
- Authentication: how to authenticate and the two token types.
- Errors: how to interpret API error responses.
Guides and reference
- Usage examples: practical recipes: managing issues, users, teams, reports, Jira tickets, and more.
- Endpoint Reference: the complete, interactive endpoint catalog.