Edit an escalation
Change when help is requested, the required data or other escalation settings. Send at least one field. The change applies immediately to all agents that have it, without publishing them. Open cases keep the configuration they were created with.
Example
curl -X PATCH https://api.platic.ai/v1/escalations/$ESCALATION_ID \
-H "Authorization: Bearer $PLATIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "defaultPriority": "high" }' await platic.escalations.update("escalation_123", { defaultPriority: "high" }); Path parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
escalationId | string | Escalation id | ✓ |
Request body
Send at least one field you want to change. The fields, assignment, agent and lifecycle sections are replaced in full: to add a data point, send the entire list.
{
"defaultPriority": "high",
"lifecycle": { "inactivityCloseHours": 48, "maxOpenDays": 7, "untakenDiscardHours": 48 }
} The same as create an escalation, all optional: name, description, prefix, color, fields, defaultPriority, assignment, agent, lifecycle and allowManual.
Within each replaced section, omitted fields take their default values:
"agent": { "canClose": true }leaveskeepReplyingattrue. To change the wait message, sendkeepReplying: falseandwaitMessagetogether.- Sending
lifecyclewithoutuntakenDiscardHoursputs it back at72hours (sendnullif you want to keep it off).
Response
200 OK with the escalation as it ended up.
{
"status": "success",
"data": {
"id": "Et7hQ2mVx9LpRk3s",
"workspaceId": "Wk5rT8yUi2OpAs4d",
"name": "Invoice error",
"description": "The customer says their invoice has a wrong detail (tax ID, company name or amount) and asks to fix it.",
"prefix": "INV",
"color": "#2563EB",
"fields": [
{"key": "order_number", "label": "Order number", "kind": "text", "required": true, "customFieldId": null, "sync": "fill_empty"},
{"key": "tax_id", "label": "Correct tax ID", "kind": "text", "required": true, "customFieldId": null, "sync": "fill_empty"},
{"key": "email", "label": "Email for the invoice", "kind": "email", "required": false, "customFieldId": "billing_email", "sync": "fill_empty"}
],
"defaultPriority": "high",
"assignment": {
"mode": "contact_owner",
"userIds": ["Us9fG3hJ6kL2mN8b"],
"userEmails": ["billing@acme.com"]
},
"agent": {
"keepReplying": false,
"canClose": false,
"waitMessage": "I passed your case to the billing team. They will write to you as soon as they can."
},
"lifecycle": {"inactivityCloseHours": 48, "maxOpenDays": 7, "untakenDiscardHours": 48},
"allowManual": true,
"status": "active",
"createdAt": "2026-11-10T16:20:00.000Z",
"createdBy": {"kind": "api", "id": "Ak7Pz2Lm9Qx4Wc6e"},
"updatedAt": "2026-11-12T09:41:00.000Z",
"updatedBy": {"kind": "api", "id": "Ak7Pz2Lm9Qx4Wc6e"},
"archivedAt": null
}
} data is the escalation, with the fields in get an escalation.
Errors
| Status | details.code | When |
|---|---|---|
400 | INVALID_REQUEST | The body is empty (Nothing to change), a field is not valid or the body has an unknown one. Also agent.waitMessage without agent.keepReplying: false. details.issues says what |
400 | CUSTOM_FIELD_NOT_FOUND | A data point has a customFieldId that does not exist in the workspace. details.issues says which |
400 | CUSTOM_FIELD_INCOMPATIBLE | The data point's kind does not match the custom field's type: for example, an email data point linked to a number field. details.issues says which |
403 | FORBIDDEN | With an OAuth token, the person is not an owner or administrator of the workspace |
404 | ESCALATION_NOT_FOUND | The escalation does not exist in this workspace |
409 | ESCALATION_ARCHIVED | The escalation is archived. An archived escalation is not edited |
409 | CONFLICT | Someone else changed it at the same time, several times in a row. Try again |
The errors that come up on any operation are in the cases introduction.
Changing description changes when every agent that uses the escalation escalates. Changing prefix only affects new case numbers.
Notes
- If two changes arrive at the same time, the last one wins.
- From an AI agent, the tool is
update_escalation.