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
curl https://api.platic.ai/v1/escalations \
-H "Authorization: Bearer $PLATIC_API_KEY" const escalations = await platic.escalations.list(); Query parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
ids | string | Only these escalations, comma-separated or with the parameter repeated. Up to 100. Those that do not exist do not show up | - |
includeArchived | boolean | true 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
| Status | details.code | When |
|---|---|---|
400 | INVALID_REQUEST | More 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
- To know which escalations an agent uses, use list the agent's escalations.
- From an AI agent, the tool is
list_escalations.