files

Confirm Upload

Confirm a completed upload and create the database record.

Call this after successfully uploading a file to the presigned URL. Verifies the file exists in storage before creating the record. Optionally creates a file block on the specified page.

post/api/files/confirm-upload

Request

  • Base URL: https://app.ctlsurf.com (the document declares no server; this is the origin it was published from)
  • URL: https://app.ctlsurf.com/api/files/confirm-upload
  • Auth: HTTP bearer

Request body

file_idstring uuid required
s3_keystring required
filenamestring required
mime_typestring required
page_idstring uuid nullable
titlestring nullable
create_blockboolean

Response

Successful Response

blockobject nullable
messagestring

Changes

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