Skip to main content
POST
Upload a new file slot to a deliverable

Authorizations

Authorization
string
header
required

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

Path Parameters

dealFolder
integer
required

Deal folder ID

Example:

12

Body

multipart/form-data
milestone_athlete_rel_id
integer
required

MilestonesAthleteRel ID this file belongs to.

Example:

88

file
file
required

File to upload. Max 250 MB.

Response

File uploaded

status
string
Example:

"success"

message
string
Example:

"File uploaded 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.