---
title: "Fetch the documents for a specified time range"
method: GET
path: "/v2/documents"
---

# Fetch the documents for a specified time range

`GET /v2/documents`

## Query parameters

- `ids[]` integer[]
- `document_form_id` integer
- `category` string
- `uploader_id` integer
- `created_after` string, date
- `created_before` string, date
- `per_page` integer
- `page_no` integer
- `status` string
- `updated_after` string, date

## Response `200`

200

- object
  - `documents` object[]
    - `document` object
      - `id` integer
      - `category` string
      - `ref_no` string
      - `notes` unknown
      - `doc_date` string
      - `doc_fields` string
      - `doc_time` unknown
      - `document_form_id` integer
      - `uploader` object
        - `id` integer
        - `first_name` string
        - `last_name` string
        - `email` string
        - `role` string
        - `deactivated_at` unknown
        - `driver_company_id` unknown
      - `created_at` string
      - `updated_at` string
  - `pagination` object
    - `per_page` integer
    - `page_no` integer
    - `total` integer

## Other responses

- `403` — 403

---

[API](https://skmtc.net/gomotive/apis/motive.md) · [All operations](https://skmtc.net/gomotive/apis/motive/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gomotive/motive/revisions/c71780e497f5/schema)
