Skip to main content

Webhook: INCIDENT_STATE_CHANGED

Sent after a workflow transition successfully changes an Incident's state.

{
"entityId": "4adbc000-3095-42f3-bddd-d8a1da1ab2bd",
"type": "INCIDENT_STATE_CHANGED",
"createdAt": "2026-08-13T10:25:00.000Z",
"data": {
"operation": "UPDATE",
"current": {
"id": "4adbc000-3095-42f3-bddd-d8a1da1ab2bd",
"organizationId": "9864d894-699a-4a00-8d4c-ae181215d721",
"name": "Broken lobby window",
"description": "Window next to the main entrance is cracked.",
"typeId": "b419c511-a4ac-4904-b836-632b3fd6d9a4",
"categoryId": "ca284c13-10bc-4318-9ca2-e77705512425",
"stateId": "6ca44588-8176-42cf-a5fd-ff48c3ff6cee",
"priority": "MAJOR",
"locationId": "20553a15-51df-4266-88c2-1067c2d1f0e8",
"pointId": null,
"assigneeId": "a60b0a09-344f-4232-80dc-9a039cdd5934",
"occurredAt": "2026-08-13T09:30:00.000Z",
"mediaIds": [],
"tags": ["safety", "broken-window"],
"clientRequestId": "91000000-0000-0000-0000-000000000001",
"latitude": 53.9023,
"longitude": 27.5619,
"externalId": "FACILITY-2041",
"createdBy": "b4b48940-d927-4d93-8a69-9e1a32ee96ca",
"createdAt": "2026-08-13T09:35:00.000Z",
"lastModifiedBy": "b4b48940-d927-4d93-8a69-9e1a32ee96ca",
"lastModifiedAt": "2026-08-13T10:25:00.000Z"
},
"previous": {
"id": "4adbc000-3095-42f3-bddd-d8a1da1ab2bd",
"organizationId": "9864d894-699a-4a00-8d4c-ae181215d721",
"name": "Broken lobby window",
"description": "Window next to the main entrance is cracked.",
"typeId": "b419c511-a4ac-4904-b836-632b3fd6d9a4",
"categoryId": "ca284c13-10bc-4318-9ca2-e77705512425",
"stateId": "1e86aa2d-717a-46db-a73b-c760fb44869d",
"priority": "MAJOR",
"locationId": "20553a15-51df-4266-88c2-1067c2d1f0e8",
"pointId": null,
"assigneeId": "a60b0a09-344f-4232-80dc-9a039cdd5934",
"occurredAt": "2026-08-13T09:30:00.000Z",
"mediaIds": [],
"tags": ["safety", "broken-window"],
"clientRequestId": "91000000-0000-0000-0000-000000000001",
"latitude": 53.9023,
"longitude": 27.5619,
"externalId": "FACILITY-2041",
"createdBy": "b4b48940-d927-4d93-8a69-9e1a32ee96ca",
"createdAt": "2026-08-13T09:35:00.000Z",
"lastModifiedBy": "b4b48940-d927-4d93-8a69-9e1a32ee96ca",
"lastModifiedAt": "2026-08-13T09:35:00.000Z"
}
}
}

Read data.previous.stateId and data.current.stateId for the workflow state change. Use the External API's transition history endpoint when you also need the transition ID, note, actor, and transition time.

Use data.current.lastModifiedBy for the user recorded for the transition; no top-level userId is delivered.