List escalations

SDK platic.escalations.list()

Find an escalation to reuse and take its id to read it or connect it to an agent. Without parameters, the list shows active escalations, oldest first.

Example

const escalations = await platic.escalations.list();

Query parameters

ParameterTypeDescriptionRequired
idsstringOnly these escalations, comma-separated or with the parameter repeated. Up to 100. Those that do not exist do not show up-
includeArchivedbooleantrue to include the archived ones, also when asking by ids. Default, false-

Response

200 OK. data is the list, not paginated.

{
  "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": "normal",
      "assignment": {"mode": "contact_owner", "userIds": [], "userEmails": []},
      "agent": {"keepReplying": true, "canClose": false, "waitMessage": null},
      "lifecycle": {"inactivityCloseHours": null, "maxOpenDays": 14, "untakenDiscardHours": 72},
      "allowManual": true,
      "status": "active",
      "createdAt": "2026-11-10T16:20:00.000Z",
      "createdBy": {"kind": "user", "id": "Us9fG3hJ6kL2mN8b"},
      "updatedAt": "2026-11-10T16:20:00.000Z",
      "updatedBy": {"kind": "user", "id": "Us9fG3hJ6kL2mN8b"},
      "archivedAt": null
    }
  ]
}

Each element of data is an escalation, with the fields in get an escalation.

Errors

Statusdetails.codeWhen
400INVALID_REQUESTMore than 100 ids, includeArchived is neither true nor false or an unknown parameter

The errors that come up on any operation are in the cases introduction.

Notes