Creates a new event from provided data
curl --request POST \
--url https://api.rootly.com/v1/incidents/{incident_id}/events \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "incident_events",
"attributes": {
"event": "<string>",
"visibility": "internal"
}
}
}'
{
"data": {
"id": "c9e00650-9cc2-45b0-b193-00345a247f59",
"type": "incident_events",
"attributes": {
"event": "New Event",
"event_raw": "New Event",
"kind": "event",
"source": "web",
"visibility": "external",
"user_display_name": "Rootly",
"occurred_at": "2025-08-05T00:31:22.852-07:00",
"starred_at": null,
"created_at": "2025-08-05T00:31:22.852-07:00",
"updated_at": "2025-08-05T00:31:22.852-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
incident_event created
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/incidents/{incident_id}/events \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "incident_events",
"attributes": {
"event": "<string>",
"visibility": "internal"
}
}
}'
{
"data": {
"id": "c9e00650-9cc2-45b0-b193-00345a247f59",
"type": "incident_events",
"attributes": {
"event": "New Event",
"event_raw": "New Event",
"kind": "event",
"source": "web",
"visibility": "external",
"user_display_name": "Rootly",
"occurred_at": "2025-08-05T00:31:22.852-07:00",
"starred_at": null,
"created_at": "2025-08-05T00:31:22.852-07:00",
"updated_at": "2025-08-05T00:31:22.852-07:00"
}
}
}