Skip to main content

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.

id
string

The unique identifier for this task.

Example:

"11446498"

type
enum<string>

The value will always be task.

Available options:
task
Example:

"task"

item
File (Mini) · object

The file associated with the task.

due_at
string<date-time>

When the task is due.

Example:

"2012-12-12T10:53:43-08:00"

action
enum<string>

The type of task the task assignee will be prompted to perform.

Available options:
review,
complete
Example:

"review"

message
string

A message that will be included with the task.

Example:

"Legal review"

task_assignment_collection
Task assignments · object

A collection of task assignment objects associated with the task.

is_completed
boolean

Whether the task has been completed.

Example:

true

created_by
User (Mini) · object

The user who created the task.

created_at
string<date-time>

When the task object was created.

Example:

"2012-12-12T10:53:43-08:00"

completion_rule
enum<string>

Defines which assignees need to complete this task before the task is considered completed.

  • all_assignees requires all assignees to review or approve the task in order for it to be considered completed.
  • any_assignee accepts any one assignee to review or approve the task in order for it to be considered completed.
Available options:
all_assignees,
any_assignee
Example:

"all_assignees"