API Documentation

Integrate XnoleX automated vulnerability scanning into your CI/CD pipeline, security workflows, and custom dashboards.

Base URL

https://xnolex.com/api/v1

Quick Start

1. Register an account and generate an API key from the dashboard settings.

2. Authenticate using your credentials:

curl -X POST https://xnolex.com/api/v1/auth/login \ -H "Content-Type: application/json" \ -d '{"email":"your@email.com","password":"yourpassword"}'

3. Use the returned JWT token in subsequent requests:

curl https://xnolex.com/api/v1/targets \ -H "Authorization: Bearer YOUR_JWT_TOKEN"

Key Endpoints

GET/targetsList all scan targets
POST/targetsCreate a new target
POST/scansStart a new scan
GET/scans/{id}Get scan status and results
GET/findingsList vulnerability findings
GET/reportsList generated reports
POST/reports/generateGenerate a PDF report
GET/healthAPI health check