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

# Search Documents

`GET /business/v2/documents`

## Request

- Base URL: `https://api.soldo.com`
- URL: `https://api.soldo.com/business/v2/documents`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.soldo.com/oauth/authorize` scopes: `document_read`
- TypeScript: <https://skmtc.dev/soldo/apis/soldo-business-api-v2-0/docs/business/v2/documents/get.ts> (a function with typed inputs; its response is checked against the schema)

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.

## Changes

- **2026-08-06** `7be21448a2b3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/soldo/apis/soldo-business-api-v2-0/changes/business/v2/documents/get.md)

---

[API](https://skmtc.dev/soldo/apis/soldo-business-api-v2-0.md) - [All operations](https://skmtc.dev/soldo/apis/soldo-business-api-v2-0/llms.txt) - [OpenAPI document](https://skmtc.dev/soldo/apis/soldo-business-api-v2-0/revisions/23fc5d07b367?raw)
