Add a timeline note to an incident
POST
/v1/incidents/{id}/updates
const url = 'https://api.varman.io/v1/incidents/example/updates';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"body":"Rotated the leaked key."}'};
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/updates \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "body": "Rotated the leaked key." }'Add a note to the incident timeline so responders and auditors can see what happened and when. Status changes are logged automatically.
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
body
required
Timeline note
string
Example
Rotated the leaked key.