---
title: "Upload an additional trust portal document"
method: POST
path: "/v1/trust-portal/documents/upload"
tags: ["Trust Portal"]
---

# Upload an additional trust portal document

`POST /v1/trust-portal/documents/upload`

Upload an additional trust portal document in Comp AI. Configure the live Trust Center, custom domain, public overview, FAQs, compliance resources, documents, links, and vendor disclosures.

## Request body

- UploadTrustDocumentDto
  - `organizationId` string, required — Organization ID that owns the document
  - `fileName` string, required — Original file name
  - `fileType` string — MIME type (optional)
  - `fileData` string, required — Base64-encoded file contents (no data URL prefix)
  - `description` string — Optional description shown in the trust portal

## Response `201`

Document uploaded successfully

- TrustDocumentResponseDto
  - `id` string, required
  - `name` string, required
  - `description` object
  - `createdAt` string, required
  - `updatedAt` string, required

---

[API](https://skmtc.net/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.net/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/revisions/726b9523fb22/schema)
