Remove Case Escalation
The REMOVE_CASE_ESCALATION event is triggered automatically; there is no direct action a user or client can take to fire it. It occurs when a patient, the case submitter on a partner organization's case, replies to a case through an in-app comment or an inbound email while an escalation with reason "waiting for patient reply" is still open in the support or clinical category. That escalation is completed as a result.
Despite the name, this event marks the matching escalation complete rather than deleting it. Integrations should check escalation.isCompleted rather than assuming the record disappears when this event is received.
The same patient reply typically also fires one or more ADD_CASE_ESCALATION events shortly after, since a "Patient has responded" (or, for clinical escalations, "Patient has responded to providers question") escalation is added immediately following the completion.
The payload.activity object is selected by case and activity type only, taking the most recent match — it isn't tied to this specific escalation. If more than one REMOVE_CASE_ESCALATION event occurs on the same case close together, the activity object attached to one webhook can describe a different occurrence.
Attributes
eventstringpayloadobjectShow child attributes
escalationobjectShow child attributes
idstring<UUID>categorystringreasonstringnotestring | nullisCompletedbooleanaddedAtstring<date-time>dueDatestring<date-time> | nulladdedByobjectShow child attributes
idstringfirstNamestringlastNamestringemailstringassignedToobject | nullShow child attributes
idstringfirstNamestringlastNamestringemailstringcaseobjectShow child attributes
idstring<UUID>typestringtitlestringstatusstringshortIdstringcreatedAtstring<date-time>updatedAtstring<date-time>assignedAtstring<date-time>inProgressAtstring<date-time>closedAtstring<date-time>isArchivedbooleanisEscalatedbooleanisImportedbooleanreferralCodestringclosedBystringinProgressBystringorganizationIdstring<UUID>archiveReasonstringarchiveNotestringvisitTypeVisitTypeproductBundleIdstring<UUID>productBundleobjectShow child attributes
namestringsubmitterobjectShow child attributes
idstringfirstNamestringlastNamestringemailstringdobstring<date-time>genderstringphoneNumberstringaddressstringaddress2stringcitystringstatestringpostalCodestringactivityobjectShow child attributes
idstring<UUID>typestringisPHIbooleanisRestrictedbooleanvalueBeforestring | nullvalueAfterstring | nulltimestampstring<date-time>actorobjectShow child attributes
idstring<UUID>firstNamestringlastNamestringemailstringtargetUserobjectShow child attributes
idstring<UUID>firstNamestringlastNamestringemailstringResponse
{
"event": "REMOVE_CASE_ESCALATION",
"payload": {
"escalation": {
"id": "d2f7b2b3-0c4f-4c9b-8a8b-2f3d4e5f6071",
"category": "SUPPORT_ESCALATION",
"reason": "Waiting for patient reply",
"note": null,
"isCompleted": true,
"addedAt": "2025-09-02T14:10:00.000Z",
"dueDate": null,
"addedBy": {
"id": "YaM948FdwiQa3Ek3GCnYsnZTTSW2",
"firstName": "Alex",
"lastName": "Johnson",
"email": "alex@example.com"
},
"assignedTo": null
},
"case": {
"id": "ec7ebb4c-3a36-43bf-93f7-3c292020c281",
"type": "GLP",
"title": "Case for John Doe",
"status": "IN_PROGRESS",
"shortId": "ADA-C1HM17",
"createdAt": "2025-08-05T08:51:38.903Z",
"updatedAt": "2025-09-04T11:15:00.000Z",
"assignedAt": "2025-08-06T18:04:26.412Z",
"inProgressAt": "2025-09-03T22:56:27.563Z",
"closedAt": null,
"isArchived": false,
"isEscalated": true,
"isImported": false,
"referralCode": null,
"closedBy": null,
"inProgressBy": "YaM948FdwiQa3Ek3GCnYsnZTTSW2",
"organizationId": "652f45e9-eb17-4955-8197-4170e375327f",
"archiveReason": null,
"productBundle": {
"name": "ORG-PRODUCT-BUNDLE-1"
},
"submitter": {
"id": "WzvygANWTEcfsLlDW1K22WWS7dY2",
"firstName": "John",
"lastName": "Doe",
"email": "john@example.com",
"dob": "1998-12-17T00:00:00.000Z",
"gender": "MALE",
"phoneNumber": "+12286475628",
"address": "1271 6th Avenue",
"address2": "",
"city": "New York",
"state": "AK",
"postalCode": "10020"
}
},
"activity": {
"id": "81c7g98e-959g-6e4b-a299-a59c767014b2",
"type": "REMOVE_CASE_ESCALATION",
"isPHI": false,
"isRestricted": false,
"timestamp": "2025-09-04T11:15:00.000Z",
"valueBefore": null,
"valueAfter": null,
"actor": {
"id": "WzvygANWTEcfsLlDW1K22WWS7dY2",
"firstName": "John",
"lastName": "Doe",
"email": "john@example.com"
},
"targetUser": null
}
}
}