latestOpenAPI 3.0.12026-08-0852621.9 KB
9a5329a23c39
Referrals
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.
post/v1/referrals/{id}/document_upload
Path parameters
idstring required
Request body
Response
Success
Example response
{
"uri": "https://brex-documents.s3.amazonaws.com/upload/abc123?AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE&Expires=1234567890&Signature=example",
"id": "prefdoc_a1b2c3d4e5"
}