Skip to main content

Start Upload

POST 

/optimize/files/:upload_id/start

Runs the uploaded file as the same request sent to POST /optimize?synchronous=false: the same checks, the same refusals with the same codes, the same stored request. Answers 202 with the run's request_id; follow it with GET /optimize/{request_id}/status or the optimize.completed webhook. Starting the same upload twice runs it twice, as posting the same body twice does. Besides the refusals listed here, every refusal POST /optimize lists applies, with the same code.

Request​

Responses​

Successful Response