post
https://api.ext-sandbox.fourthline.com/v2/workflows//clients//data/bulk
Use this endpoint to upload multiple files and their corresponding metadata in a single request instead of calling Upload client document multiple times.
Send a multipart/form-data request containing:
files: One file per part. Minimum 1 and maximum 6 files per request.bulkMetadata: A JSON string containing metadata for each file. The number of entries inbulkMetadata.itemsmust match the number offilesparts. SeeClientDocumentBulkMetadata.
Note:
-
You can upload between 1 and 6 files per request. The maximum supported file size is 200 MB per file. The maximum combined upload size is 250 MB. Supported file extensions are
.jpg,.jpeg,.png,.pdf,.mp4, and.mov. -
For error responses, inspect the response body for additional details:
400Bad Request returns avalidationProblemDetailsobject, including anerrorsproperty that maps request fields to validation error messages.- All other error responses return a
problemDetailsobject containingtype,title,status, anddetail.