Create a recurring penetration-test schedule
POST
/v1/pentest-schedules
const url = 'https://api.varman.io/v1/pentest-schedules';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"targetUrl":"https://app.example.com","frequency":"weekly","repoUrl":"example","additionalContext":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.varman.io/v1/pentest-schedules \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "targetUrl": "https://app.example.com", "frequency": "weekly", "repoUrl": "example", "additionalContext": "example" }'Create a recurring penetration-test schedule in Varman. Create AI-powered penetration test runs, track progress, inspect findings and events, and download markdown or PDF reports.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”X-Organization-Id
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
targetUrl
required
Target URL to scan on each scheduled run
string
Example
https://app.example.comfrequency
required
How often the scan runs
string
repoUrl
Repository URL containing the target application code
string
additionalContext
string