Starts workflow based on request body

POST https://{{api.box.com}}/2.0/workflows/:workflow_id/start

Initiates a flow with a trigger type of WORKFLOWMANUALSTART.

https://developer.box.com/reference/post-workflows-id-start

Request Body

{"type"=>"workflow_parameters", "flow"=>{"type"=>"flow", "id"=>"123456789"}, "files"=>[{"type"=>"file", "id"=>"12345678"}], "folder"=>{"type"=>"folder", "id"=>"87654321"}, "outcomes"=>[{"id"=>"17363629", "collaborators"=>{"type"=>"variable", "variable_type"=>"user_list", "variable_value"=>[{"type"=>"user", "id"=>"636281"}]}, "completion_rule"=>{"type"=>"variable", "variable_type"=>"task_completion_rule", "variable_value"=>"all_assignees"}, "file_collaborator_role"=>{"type"=>"variable", "variable_type"=>"collaborator_role", "variable_value"=>"editor"}, "task_collaborators"=>{"type"=>"variable", "variable_type"=>"user_list", "variable_value"=>[{"type"=>"user", "id"=>"636281"}]}, "role"=>{"type"=>"variable", "variable_type"=>"collaborator_role", "variable_value"=>"editor"}}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring