Create task
Creates a single task on a file. This task is not assigned to any user and will need to be assigned separately.
Documentation Index
Fetch the complete documentation index at: https://developer.box.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
The file to attach the task to.
The action the task assignee will be prompted to do. Must be
reviewdefines an approval task that can be approved or, rejectedcompletedefines a general task which can be completed.
review, complete "review"
An optional message to include with the task.
"Please review"
Defines when the task is due. Defaults to null if not provided.
"2012-12-12T10:53:43-08:00"
Defines which assignees need to complete this task before the task is considered completed.
all_assignees(default) requires all assignees to review or approve the task in order for it to be considered completed.any_assigneeaccepts any one assignee to review or approve the task in order for it to be considered completed.
all_assignees, any_assignee "all_assignees"
Response
Returns the newly created task.
A task allows for file-centric workflows within Box. Users can create tasks on files and assign them to other users for them to complete the tasks.
The unique identifier for this task.
"11446498"
The value will always be task.
task "task"
The file associated with the task.
When the task is due.
"2012-12-12T10:53:43-08:00"
The type of task the task assignee will be prompted to perform.
review, complete "review"
A message that will be included with the task.
"Legal review"
A collection of task assignment objects associated with the task.
Whether the task has been completed.
true
The user who created the task.
When the task object was created.
"2012-12-12T10:53:43-08:00"
Defines which assignees need to complete this task before the task is considered completed.
all_assigneesrequires all assignees to review or approve the task in order for it to be considered completed.any_assigneeaccepts any one assignee to review or approve the task in order for it to be considered completed.
all_assignees, any_assignee "all_assignees"
