---
title: "Upload a Document"
method: POST
path: "/v2/transactions/{id}/documents"
tags: ["Transaction Documents"]
---

# Upload a Document

`POST /v2/transactions/{id}/documents`

## Request

- Base URL: `https://api.pre.transactiondesk.com`
- URL: `https://api.pre.transactiondesk.com/v2/transactions/{id}/documents`
- Auth: HTTP bearer

Uploads a new document to a specific transaction. The document binary must be Base64 encoded.

## Request body

- object
  - `documentName` string, required
  - `binary` string, required: Base64 encoded document binary
  - `fileTypeId` string, uuid, required: File type GUID. See Glossary for values.

## Response `200`

Document uploaded successfully

- object
  - `id` string, uuid

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/lwolf/apis/transactiondesk-partner-api.md) · [All operations](https://skmtc.dev/lwolf/apis/transactiondesk-partner-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lwolf/apis/transactiondesk-partner-api/revisions/9bb49674e238?raw)
