---
title: "Upload new version of content library document"
method: POST
path: "/trust_exchange/content_library/document/upload_version"
tags: ["trust_exchange"]
---

# Upload new version of content library document

`POST /trust_exchange/content_library/document/upload_version`

## Request

- Base URL: `https://cyber-risk.upguard.com/api/public`
- URL: `https://cyber-risk.upguard.com/api/public/trust_exchange/content_library/document/upload_version`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/docs/trust_exchange/content_library/document/upload_version/post.ts> (a function with typed inputs; its response is checked against the schema)

Uploads a new version of an existing document in the organization's content library via multipart file upload.

Required API key permissions: `TrustExchange` and `ReadWrite` (select when creating API key in Account Settings)

## Query parameters

- `uuid` string, required

## Request body `multipart/form-data`

- object
  - `file` string, binary, required: The new version file to upload.

## Response `204`

No Content

## Other responses

- `403`: Account does not have access to requested entities
- `422`: An invalid parameter was supplied or a mandatory parameter was missing
- `429`: Too many requests have been made to this endpoint.
- `500`: An internal system error occurred

## Changes

- **2026-11-07** `d044bf6dc61e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/changes/trust_exchange/content_library/document/upload_version/post.md)

---

[API](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api.md) - [All operations](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/revisions/d044bf6dc61e?raw)
