Create Timeline Event

The POST incidents/:id/events\ endpoint enables events to be added to the incident timeline.

curl -X POST https://\<customer\>.blameless.io/api/v1/incidents/\<int:incident_id\>/events -d

Headers

content-type: application/JSON

URL

https://<customer>.blameless.io/api/v1/

PropertyTypeReqDescription
MethodPOSTY
AuthTokenYBearer with valid authorization token
PathstringYIncident ID is part of the PATH
summarystringNSummary of the event(s)
event_typestringYCustom value depending on the type of event
dateintegerYDate of the event
sourcestringYCan contain the following information regarding the event(s): Type Link user
valuestringThis is the event (single) or events (multiple)

Request Body

{
"summary": "Summary of event",
"event_type": "CUSTOM",
"value": "This is an Event",
"date": 1602260216.97,
"source": {
"type": "WEB",
"link": "<http://blameless.com>",
"user": null
}
}

Response Body

{
"ok": true,
"event": {
"_id": 23327,
"incident_id": 3519,
"swimlane_id": 0,
"date": {
"\$date": 1603316406898
},
"event_type": "CUSTOM",
"source": {
"type": "WEB",
"link": "<http://blameless.com>"
},
"value": "Event summary",
"summary": "",
"is_deleted": false,
"events": [...],
"pagination": {
"limit": 1000,
"offset": 0,
"count": 5
}
}