Skip to main content
POST
Upload an additional trust portal document

Authorizations

X-API-Key
string
header
required

API key for authentication

Body

application/json
organizationId
string
required

Organization ID that owns the document

Example:

"org_6914cd0e16e4c7dccbb54426"

fileName
string
required

Original file name

Example:

"security-overview.pdf"

fileData
string
required

Base64-encoded file contents (no data URL prefix)

fileType
string

MIME type (optional)

Example:

"application/pdf"

description
string

Optional description shown in the trust portal

Example:

"Overview of our security program"

Response

201 - application/json

Document uploaded successfully

id
string
required
Example:

"tdoc_abc123"

name
string
required
Example:

"security-overview.pdf"

createdAt
string
required
Example:

"2026-01-02T10:15:00.000Z"

updatedAt
string
required
Example:

"2026-01-02T10:15:00.000Z"

description
object
Example:

"Overview of our security program"