Archive an escalation
SDK platic.escalations.archive()
Retire an escalation so agents stop using it. Send its escalationId, with no body. It cannot be unarchived or edited afterwards and will open no new cases. Open cases remain until someone closes them or they expire.
Example
curl -X POST https://api.platic.ai/v1/escalations/$ESCALATION_ID/archive \
-H "Authorization: Bearer $PLATIC_API_KEY" await platic.escalations.archive("escalation_123"); Path parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
escalationId | string | Escalation id | ✓ |
Request body
None.
Response
200 OK with the archived escalation.
{
"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"}
],
"defaultPriority": "high",
"assignment": {"mode": "contact_owner", "userIds": [], "userEmails": []},
"agent": {"keepReplying": false, "canClose": false, "waitMessage": null},
"lifecycle": {"inactivityCloseHours": 48, "maxOpenDays": 7, "untakenDiscardHours": 72},
"allowManual": true,
"status": "archived",
"createdAt": "2026-11-10T16:20:00.000Z",
"createdBy": {"kind": "api", "id": "Ak7Pz2Lm9Qx4Wc6e"},
"updatedAt": "2026-11-12T18:02:00.000Z",
"updatedBy": {"kind": "api", "id": "Ak7Pz2Lm9Qx4Wc6e"},
"archivedAt": "2026-11-12T18:02:00.000Z"
}
} data is the escalation, with the fields in get an escalation.
Errors
| Status | details.code | When |
|---|---|---|
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 |
The errors that come up on any operation are in the cases introduction.
Notes
- Archiving an escalation that is already archived answers
200with the escalation, without changing it. - There is no way to unarchive an escalation. If you need it again, create a new one.
- The escalation still shows up with
includeArchived=truein list escalations and in the cases that were opened with it. - From an AI agent, the tool is
archive_escalation.