Document Operations
Store a file in a document's file storage
<small>Requires an API token with the Document Manager role.</small>
Associates a previously uploaded file with the document referred to by the URL.
This endpoint requires a three-step upload process:
- Generate upload URL: Call the Create document file storage upload URL endpoint to get a presigned upload URL
- Upload file: Make a POST request to the returned URL with the specified form fields, followed by the file contents in a
filefield - Associate uploaded file with document: Call this endpoint with
file_upload_uuidset to theuuidreceived in step 1
The file will be available in the file storage of the document referred to in the URL.
For a complete guide with examples, see How to store a file in a document's file storage.
Body
application/json
The name of the file being uploaded
Maximum string length:
255Example:
NDA_BigCorp.pdfThe UUID received in the Create document file storage upload URL response
Example:
d16017e0-f60d-45b6-98cf-b1f41d0747faResponse
application/json
StoredFileMinimalResource
More in Document Operations
GETShow documentPUTUpdate documentDELDelete documentGETShow latest revision PDF detailsStill need help? Share an idea