Count incidents
GET
/v1/incidents/stats
const url = 'https://api.varman.io/v1/incidents/stats';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.varman.io/v1/incidents/stats \ --header 'X-API-Key: <X-API-Key>'Counts for all, open, clock (privacy breach with the 72 hour authority deadline still ahead), overdue (deadline passed, authority not notified) and closed.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”X-Organization-Id
string