Files

Finish or cancel a batch upload

complete=true saves the remaining uploaded files, creates one mailbox version and releases the lock. A 202 response with finalize_pending=true means more files remain: call finalize again after Retry-After. complete=false cancels the session and discards its unsaved files. Finalizing a finished session returns it unchanged.

post/v1/mailboxes/{mailbox_id}/upload_sessions/{session_id}/finalize

Request

  • Base URL: https://api.revdoku.com
  • URL: https://api.revdoku.com/v1/mailboxes/{mailbox_id}/upload_sessions/{session_id}/finalize
  • Auth: HTTP bearer

Path parameters

mailbox_idstring required
session_idstring required

mailbox_upload_session.id from the create response.

Request body

completeboolean

false cancels the session.

account_idstring

Select another granted account for this request.

reasonstring nullable

Optional purpose for this action. AI agents should explain intentional reads and changes when known; omit when unknown. Do not include secrets, file contents, or transcripts.

Response

Success

successtrue required

Changes

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