---
title: "Confirm Document Upload"
method: POST
path: "/business/v2/documents/confirm"
tags: ["Documents"]
---

# Confirm Document Upload

`POST /business/v2/documents/confirm`

## Request

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

After you got the temporary file URL of type `UPLOAD_URL` and the file is uploaded, the upload of file must be confirmed.

## Request body `application/x-www-form-urlencoded`

- CompletedUploadDocument: Parameters used to request a document upload complite.
  - `content_type` string, required: The MIME type of the `Document`.
  - `attachment_name` string, required: Attachment name of the `Document`
  - `attachment_type` string: The type of file of the `Document`.
  - `uploaded_by` string: The User or system that uploaded the file of the `Document`
  - `thumbnails_size` string: The requested thumbnail size hint for downstream rendering of file of the `Document` .
  - `readonly` boolean: Readonly flag of the `Document`
  - `analysis_required` boolean: It indicates whether automated content analysis should be performed on the `Document` after upload.

## Response `200`

The returned resource is a single `Document`.

- Document
  - `id` string: The `Document` ID.
  - `name` string: The original file name of the `Document`.
  - `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.
  - `creation_time` string: 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.
- `404`: One or more resource requested does not exist.

## 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/confirm/post.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)
