Record a notice
POST
/v1/incidents/{id}/notices
const url = 'https://api.varman.io/v1/incidents/example/notices';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"audience":"authority","recipient":{},"content":"example","sentAt":{}}'};
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/incidents/example/notices \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "audience": "authority", "recipient": {}, "content": "example", "sentAt": {} }'Records a notice to the authority, customers, data subjects or staff. With sentAt, an authority notice stops the breach clock by setting authorityNotifiedAt.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Header Parameters
Section titled “Header Parameters”X-Organization-Id
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
audience
required
string
recipient
Who it goes to, e.g. “ICO” or “All EU customers”
object
content
required
Notice text
string
sentAt
When it was sent (ISO date). Sending an authority or data subject notice also sets the matching notified date on the incident if empty.