Documents

Initiate Upload

Creates a GCS resumable upload session. Returns session_uri for the frontend to PUT chunks directly to GCS.

post/api/v1/documents/initiate_upload/

Request

  • Base URL: https://api.loanflo.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.loanflo.ai/api/v1/documents/initiate_upload/
  • Auth: HTTP bearer

Request body

filenamestring required
file_sizeinteger required
content_typestring required
metadataobject

Response

OK

upload_idstring required
session_uristring required
gcs_pathstring required

Changes

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