post https://app-sandbox.trustpair.com/api/v1/documents/
Creates a new document attachment in the authenticated customer's workspace.
This endpoint allows you to:
- Upload document files to your workspace
- Associate documents with specific users
- Add descriptions to documents for better categorization
- Store supporting documentation for overrides or other entities
The uploaded document will be stored securely and can later be attached to
overrides or other resources as supporting evidence.
Required permissions:
documents_write
Supported file formats:
- PDF (.pdf)
- Microsoft Word (.doc, .docx)
- Microsoft Excel (.xls, .xlsx)
- Images (.jpg, .jpeg, .png)
Maximum file size: 30 MB