Export incidents as CSV
GET
/v1/incidents/export
const url = 'https://api.varman.io/v1/incidents/export?status=reported&severity=low&category=security&view=open';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/export?status=reported&severity=low&category=security&view=open' \ --header 'X-API-Key: <X-API-Key>'Download incidents as CSV with reference, status, severity, owner and breach deadline. Accepts the same filters as the incident list.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”X-Organization-Id
string
Query Parameters
Section titled “Query Parameters”status
string
severity
string
category
string
ownerMemberId
string
Owner member ID
search
string
Matches title, description or reference (INC-0001)
view
string
Open: not resolved or closed. clock: privacy breach, authority not notified, deadline ahead. overdue: same but past the deadline. closed.
Responses
Section titled “Responses”CSV file