Skip to content

Create an incident

POST
/v1/incidents
curl --request POST \
--url https://api.varman.io/v1/incidents \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "title": "Laptop with customer data stolen", "description": {}, "category": "security", "severity": "low", "status": "reported", "occurredAt": {}, "detectedAt": "example", "reporterMemberId": {}, "reporterName": {}, "reporterEmail": {}, "ownerMemberId": {}, "isPrivacyBreach": true, "personalDataAffected": {}, "authorityNotifiedAt": {}, "subjectsNotifiedAt": {}, "rootCause": {}, "lessonsLearned": {} }'

Creates an incident with the next reference and a response checklist for its category. Setting isPrivacyBreach starts a 72 hour authority notification deadline from detectedAt.

X-Organization-Id
string
Media typeapplication/json
object
title
required

Short summary

string

Example

Laptop with customer data stolen
description

What happened

object
category

Defaults to security

string
Allowed values: security privacy availability other
severity

Defaults to medium

string
Allowed values: low medium high critical
status

Defaults to reported

string
Allowed values: reported triage investigating contained resolved closed
occurredAt

When it happened (ISO date)

object
detectedAt

When it was detected (ISO date). Defaults to now.

string
reporterMemberId

Member who reported it

object
reporterName

Reporter name when not a member

object
reporterEmail

Reporter email when not a member

object
ownerMemberId

Member who owns the response

object
isPrivacyBreach

Personal data breach. Starts a 72 hour clock from detectedAt to notify the supervisory authority (GDPR Art. 33).

boolean
personalDataAffected

Personal data and people affected

object
authorityNotifiedAt

When the authority was notified

object
subjectsNotifiedAt

When affected people were notified

object
rootCause
object
lessonsLearned
object