Skip to main content
POST
iOS — Complete direct-to-S3 multipart upload (replace existing slot)

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Path Parameters

file
integer
required

DealFolderFile ID (slot ID).

Example:

5

Body

application/json
session_id
integer
required

session_id returned from /replace/initiate.

Example:

512

parts
object[]
required

One entry per uploaded part. Order does not matter; the server sorts by part_number before calling S3 CompleteMultipartUpload.

Minimum array length: 1

Response

File slot replaced

status
string
Example:

"success"

message
string
Example:

"File replaced successfully."

data
object

A Deal Folder file slot (workflow unit). The integer status field and its rolled-up string equivalents (deal_folder_file_status at the milestone level, deal_folder_status at the folder level) all draw from the same App\Enums\DealFolderStatus values.