Portfolio Files

Create a Portfolio File Upload Request

Create a presigned S3 POST upload request for a portfolio file upload.

File uploads use a three-step flow:

  1. Create an upload request to receive a temporary S3 upload URL and required POST parameters.
  2. Upload the file directly to S3 with a multipart/form-data POST. Include every key/value pair from fields as form parameters, followed by the file as the file part.
  3. Finalize the upload by creating a portfolio file with upload_request_id.

Upload requests expire after 15 minutes and can only be finalized once.

post/portfolio_file_upload_requests

Request body

namestring required

Name of the file to upload

sizeinteger required

Claimed upload size in bytes

content_type'application/pdf' | 'application/msword' | 'application/vnd.ms-excel' | 'application/vnd.ms-powerpoint' | 'application/vnd.openxmlformats-officedocument.presentationml.presentation' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/webp' | 'text/csv' required

MIME type of the file to upload

portfolio_company_profile_idstring uuid required

ID of the portfolio company profile the file belongs to

Response

Upload request successfully created

Changes

No recorded changes to this endpoint across all 1 revision of this API.