---
title: "List documents"
method: GET
path: "/api/v1/documents"
tags: ["Documents"]
---

# List documents

`GET /api/v1/documents`

## Request

- Base URL: `https://www.ifillpdf.com`
- URL: `https://www.ifillpdf.com/api/v1/documents`
- Auth: HTTP bearer

Returns documents for the authenticated team, newest first.

## Query parameters

- `limit` integer
- `cursor` string
- `q` string
- `status` 'analyzing' | 'completed' | 'failed' | 'draft' | 'filling' | 'no_fields' | 'analysis_failed' | 'sent' | 'declined' | 'expired' | 'voided'
- `include_voided` boolean

## Response `200`

Document page.

- object
  - `documents` DocumentSummary[], required
    - `document_id` string, uuid, required
    - `name` string, required
    - `status` 'analyzing' | 'completed' | 'failed', required
    - `state` string, required
    - `error` string, nullable
    - `page_count` integer, required
    - `page_images_count` integer
    - `preview_image_url` string, nullable
    - `document_type` string, nullable
    - `entities` DocumentEntity[]
      - `id` string
      - `label` string
      - `description` string
      - `color` string
    - `analysis_started_at` string, date-time, nullable
    - `analysis_completed_at` string, date-time, nullable
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `next_cursor` string, nullable, required

## Other responses

- `401`: Missing or invalid API key.

---

[API](https://skmtc.dev/ifillpdf/apis/ifillpdf-api.md) · [All operations](https://skmtc.dev/ifillpdf/apis/ifillpdf-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ifillpdf/apis/ifillpdf-api/revisions/17d927bde9ea?raw)
