---
docId: doc_6ef8fba5a1b541e192759868630f1543
title: Archive an escalation
description: Archive an escalation. Agents stop using it and no new cases are opened from it; the open ones stay open.
api:
  group: escalaciones
  auth: bearer
  operations:
    - operationId: archiveEscalation
      method: POST
      path: '/v1/escalations/{escalationId}/archive'
      postmanName: Archive an Escalation
---

<script>
  import { Ways } from '$lib/components';
</script>

# Archive an escalation

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

<Ways tabs="api,sdk">
<Ways.Way name="api">

```bash
curl -X POST https://api.platic.ai/v1/escalations/$ESCALATION_ID/archive \
  -H "Authorization: Bearer $PLATIC_API_KEY"
```

</Ways.Way>
<Ways.Way name="sdk">

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

</Ways.Way>
</Ways>

## Path parameters

| Parameter | Type | Description | Required |
|-----------|------|-------------|----------|
| `escalationId` | string | Escalation id | ✓ |

## Request body

None.

## Response

`200 OK` with the archived escalation.

```json
{
  "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](/api-reference/escalations/get#response).

## 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](/api-reference/cases#common-errors).

## 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](/api-reference/escalations/list) and in the cases that were opened with it.
- From an AI agent, the tool is [`archive_escalation`](/mcp/tools#escalations).
