---
docId: doc_cde570d9668b4f9484a6d4cd18e2471e
title: List cases
description: Returns the workspace's cases, newest first, with filters by status, escalation, contact, conversation, comment thread, owner and priority.
api:
  group: casos
  auth: bearer
  operations:
    - operationId: listCases
      method: GET
      path: /v1/cases
      postmanName: List Cases
---

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

# List cases

Find cases by status, assignee, priority or conversation. Use a result’s `id` to [open its details](/api-reference/cases/get). The list shows workspace cases in pages, newest first, without the log. In the API, `contactId` is a `clients` ID.

## Example

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

```bash
curl "https://api.platic.ai/v1/cases?status=open" \
  -H "Authorization: Bearer $PLATIC_API_KEY"
```

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

```ts
const { data: cases } = await platic.cases.list({ status: "open" });
```

</Ways.Way>
</Ways>

## Query parameters

| Parameter | Type | Description | Required |
|-----------|------|-------------|----------|
| `status` | string | `open` or `closed` | - |
| `escalationId` | string | Only those of this escalation | - |
| `contactId` | string | Only those of this contact | - |
| `conversationId` | string | Only those of this conversation. On comments, the post | - |
| `threadId` | string | Only on comments: only those of this thread, the id of the comment that opens it | - |
| `assigneeId` | string | Only those that have this person as an owner: user id or email of a member | - |
| `priority` | string | `low`, `normal`, `high` or `urgent` | - |
| `limit` | integer | From 1 to 100. Default, `20` | - |
| `pageToken` | string | The `nextPageToken` of the previous page | - |

Filters combine: `?status=open&assigneeId=billing@acme.com` returns that person's open cases.

## Response

`200 OK`. `data` is the page and `nextPageToken` the cursor of the next one, or `null` on the last.

```json
{
  "status": "success",
  "data": [
    {
      "id": "Es4kP9wLx2QmZ7bN1cVd",
      "workspaceId": "Wk5rT8yUi2OpAs4d",
      "number": 143,
      "folio": "INV-0143",
      "escalationId": "Et7hQ2mVx9LpRk3s",
      "escalationSnapshot": {
        "name": "Invoice error",
        "prefix": "INV",
        "color": "#2563EB",
        "keepReplying": false,
        "canClose": false,
        "waitMessage": null,
        "inactivityCloseHours": null,
        "untakenDiscardHours": 72,
        "allowManual": true
      },
      "status": "open",
      "priority": "normal",
      "summary": "Asks to fix the tax ID on the invoice for order 48213.",
      "fields": {"order_number": "48213", "tax_id": "ACME010101AB1"},
      "contactId": "Ct3fG5hJ7kL9mN1p",
      "conversationId": "Cv8hN2lP4qR6sT0u",
      "channelId": "Ch2wE4rT6yU8iO0p",
      "platform": "whatsapp",
      "relatedConversationIds": [],
      "postId": null,
      "threadId": null,
      "agentId": "Ag6bV8nM1qW3eR5t",
      "openedBy": {"kind": "agent", "id": "Ag6bV8nM1qW3eR5t"},
      "assigneeIds": ["Us9fG3hJ6kL2mN8b"],
      "acceptedBy": null,
      "acceptedAt": null,
      "lastActivityAt": "2026-11-12T15:04:00.000Z",
      "maxOpenAt": "2026-11-26T15:04:00.000Z",
      "autoCloseAt": null,
      "discardAt": "2026-11-15T15:04:00.000Z",
      "discardWarnAt": "2026-11-14T03:04:00.000Z",
      "discardWarnedAt": null,
      "closedAt": null,
      "closedBy": null,
      "closeReason": null,
      "closeNote": null,
      "createdAt": "2026-11-12T15:04:00.000Z",
      "updatedAt": "2026-11-12T15:04:00.000Z",
      "assigneeEmails": ["billing@acme.com"],
      "acceptedByEmail": null
    }
  ],
  "nextPageToken": "Es1aB3cD5eF7gH9iJ0kL"
}
```

Each element of `data` is a case, with the fields in [get a case](/api-reference/cases/get#the-case).

## Errors

| Status | `details.code` | When |
|--------|----------------|------|
| `400` | `INVALID_REQUEST` | A filter is not valid, `assigneeId` is not a member of the workspace, `limit` is out of range, the `pageToken` is not from this list or you sent an unknown parameter. Paginate with `pageToken`, not with `cursor` or `offset` |

The errors that come up on any operation are in the [introduction](/api-reference/cases#common-errors).

## Notes

- To find conversations with cases (not the cases), filter [list conversations (V1)](/api-reference/conversations/v1/list) with `escalationId` and `caseStatus`.
- From an AI agent, the tool is [`list_cases`](/mcp/tools#cases).
