# Create a new document upload The uri will be a presigned S3 URL allowing you to upload the referral doc securely. This URL can only be used for a PUT operation and expires 30 minutes after its creation. Once your upload is complete, we will use this to prefill the application. Refer to these docs on how to upload to this presigned S3 URL. We highly recommend using one of AWS SDKs if they're available for your language to upload these files. Endpoint: POST /v1/referrals/{id}/document_upload Version: 1.0 Security: oAuth2ClientCredentials ## Path parameters: - `id` (string, required) ## Request fields (application/json): - `type` (string, required) Type of document being submitted. Allowable types: - ARTICLES_OF_INCORPORATION - IRS_EIN_CONFIRMATION (IRS CP 575 or 147C form) - IRS_EIN_APPLICATION (IRS SS4 form) - CERTIFICATE_GOOD_STANDING Enum: "ARTICLES_OF_INCORPORATION", "IRS_EIN_CONFIRMATION", "IRS_EIN_APPLICATION", "CERTIFICATE_GOOD_STANDING" ## Response 200 fields (application/json): - `uri` (string, required) This is a presigned S3 link that should be used to attach the document. The maximum size accepted for this document is 50 MB. - `id` (string, required) Unique identifier for the document. ## Response 401 fields ## Response 404 fields