---
title: "Search Documents"
method: GET
path: "/business/v2/documents"
tags: ["Documents"]
---

# Search Documents

`GET /business/v2/documents`

Endpoint to search `Documents` stored in the repository.

## Query parameters

- `p` integer — It indicates the specific page to display (the counter starts from zero).
- `s` integer — It indicates the number of items per page.
- `props` string[] — It indicates the sorting direction applied to the above parameters. To apply a sorting on multiple parameters, set as many times the `props` parameter in the request.

## Response `200`

The result is an array containing `Documents`.

- Documents
  - `total` integer — It represents the total number of available items in the list.
  - `pages` integer — It represents the total number of available pages.
  - `page_size` integer — It represents the number of items per page.
  - `current_page` integer — It indicates the current page (the counter starts from zero).
  - `results_size` integer — It indicates the size of the array results.
  - `results` DocumentItem[]
    - `id` string — The `Document` ID.
    - `name` string — The original file name of the `Document`.
    - `attachment_url` string — Pre-signed URL where the `Document` content can be downloaded.
    - `preview_url` string — Pre-signed URL for the `Document` preview rendering.
    - `thumbnail_url` string — The Pre-signed URL for the file of the `Document` thumbnail.
    - `import_date` string, date-time — The date and time when the `Document` was imported.
    - `attached` boolean — It indicates whether the `Document` is already attached to one or more activities.

## Other responses

- `400` — Your request has missing arguments or is malformed.

---

[API](https://skmtc.net/soldo/apis/soldo-business-api-v2-0.md) · [All operations](https://skmtc.net/soldo/apis/soldo-business-api-v2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/soldo/soldo-business-api-v2-0/revisions/7be21448a2b3/schema)
