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

# Upload Document

`POST /business/v2/documents/upload`

Endpoint to upload a `Document`.The first step is to get a temporary URL where to upload the file.

## Response `200`

The returned resource is a single `UploadUrlDocument`.

- UploadUrlDocument
  - `uploaded_by` string — The User or system that uploaded the file of the `Document`
  - `operation_type` 'UPLOAD_URL' | 'UPLOAD_COMPLETED'
  - `content_type` string — The MIME type of the `Document`.
  - `attachment_name` string — Attachment name of the `Document`
  - `pre_signed_url` string — Pre-signed URL of the `Document`

## Other responses

- `400` — Your request has missing arguments or is malformed.
- `404` — One or more resource requested does not exist.

---

[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)
