---
title: "Link a document to a transaction"
method: POST
path: "/v1/transactions/{transaction_id}/documents"
tags: ["Transactions"]
---

# Link a document to a transaction

`POST /v1/transactions/{transaction_id}/documents`

Link a document to a transaction

## Path parameters

- `transaction_id` string, uuid, required

## Request body

- LinkDocumentRequest
  - `document_id` string, uuid, required

## Response `200`

Document successfully linked to transaction

## Other responses

- `400` — Invalid request
- `401` — Authentication error
- `404` — Transaction not found
- `500` — Internal server error

---

[API](https://skmtc.net/lorum/apis/auth-api.md) · [All operations](https://skmtc.net/lorum/apis/auth-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lorum/auth-api/revisions/f9b8935027e3/schema)
