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

await platic.escalations.archive("escalation_123");

Path parameters

ParameterTypeDescriptionRequired
escalationIdstringEscalation 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

Statusdetails.codeWhen
403FORBIDDENWith an OAuth token, the person is not an owner or administrator of the workspace
404ESCALATION_NOT_FOUNDThe 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 200 with 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=true in list escalations and in the cases that were opened with it.
  • From an AI agent, the tool is archive_escalation.