Client and temp files
Persistent files that we track in your account are called Client Files. These are stored in your File Store Location (typically an S3 bucket) with a corresponding entry in our table with metadata.
A temp file uses a similar process however it's cleared periodically.
Details
You can request the metadata on a Client File using the 'details' endpoint. This does not work for temp files.
Client File details
Download
To download a Client File from a known ID use this request:
Download Client File
To download a temp file from a known ID use this request:
Download Client File
Delete
To delete a Client File use this request:
Delete Client File
Delete multiple Client Files
Update Purpose
If you'd like to update the purpose of an existing Client File. You can use this request:
Update Client File purpose
Upload file
Smaller file uploads (typically up to 100MB) can be done by sending the file directly in the request body.
Upload Client File
Upload temp file
For larger file uploads, we have to perform a multi-part upload.
You split the file into chunks and upload each part separately. Once all parts are uploaded, your Client File record is created.
The final part you upload to complete your Client File will return the Client File record.
If you experience an issue with a part upload, you can re-upload that part. The system will overwrite the existing portion with the new one.