---
title: "Cases awaiting the attorney's review, and assigned cases that need attention"
method: GET
path: "/v1/attorney/queue"
---

# Cases awaiting the attorney's review, and assigned cases that need attention

`GET /v1/attorney/queue`

## Request

- Base URL: `https://api.evictionsapi.com`
- URL: `https://api.evictionsapi.com/v1/attorney/queue`
- Auth: HTTP bearer

## Response `200`

Cases in notice or filing review, and open cases on hold or with a failed job, oldest first.

- object
  - `items` AttorneyQueueItem[], required
    - `id` string, required
    - `mode` 'test' | 'live', required
    - `state` string, required
    - `ground` string, required
    - `entryPoint` 'notice' | 'filing', required
    - `jurisdiction` object, required
      - `state` string, required
      - `county` string
    - `attention` Attention, required: Whether the case needs the attorney: it is on hold, or a job for it failed for good after its last state change.
      - `needed` boolean, required
      - `reasons` string[], required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required

## Other responses

- `400`: The request is invalid.
- `401`: The credential is missing or invalid.
- `403`: The credential is not allowed to do this (`forbidden`). For a signed-in session: `permission_denied`, the person's role in the organization lacks the permission this needs (ask an owner); `no_organization`, the person belongs to no organization yet (start one with `POST /v1/me/organizations` or accept an invitation).
- `404`: Not found.
- `409`: The request conflicts with the current state: for a case, it is not in a state that allows this, or its details were erased (`erased`); for an API key, a limit or the key in use.
- `422`: The case did not pass a check.

---

[API](https://skmtc.dev/evictionsapi/apis/evictions-api.md) · [All operations](https://skmtc.dev/evictionsapi/apis/evictions-api/llms.txt) · [OpenAPI document](https://skmtc.dev/evictionsapi/apis/evictions-api/revisions/28459213a1a3?raw)
