TaskrouterV1Task

post/v1/Workspaces/{WorkspaceSid}/Tasks

Path parameters

WorkspaceSidstring required

The SID of the Workspace that the new Task belongs to.

Response

Created

account_sidstring nullable

The SID of the Account that created the Task resource.

ageinteger nullable

The number of seconds since the Task was created.

assignment_status'pending' | 'reserved' | 'assigned' | 'canceled' | 'completed' | 'wrapping'
attributesstring nullable

The JSON string with custom attributes of the work. Note If this property has been assigned a value, it will only be displayed in FETCH action that returns a single resource. Otherwise, it will be null.

addonsstring nullable

An object that contains the addon data for all installed addons.

date_createdstring date-time nullable

The date and time in GMT when the resource was created specified in ISO 8601 format.

date_updatedstring date-time nullable

The date and time in GMT when the resource was last updated specified in ISO 8601 format.

task_queue_entered_datestring date-time nullable

The date and time in GMT when the Task entered the TaskQueue, specified in ISO 8601 format.

priorityinteger nullable

The current priority score of the Task as assigned to a Worker by the workflow. Tasks with higher priority values will be assigned before Tasks with lower values.

reasonstring nullable

The reason the Task was canceled or completed, if applicable.

sidstring nullable

The unique string that we created to identify the Task resource.

task_queue_sidstring nullable

The SID of the TaskQueue.

task_queue_friendly_namestring nullable

The friendly name of the TaskQueue.

task_channel_sidstring nullable

The SID of the TaskChannel.

task_channel_unique_namestring nullable

The unique name of the TaskChannel.

timeoutinteger nullable

The amount of time in seconds that the Task can live before being assigned.

workflow_sidstring nullable

The SID of the Workflow that is controlling the Task.

workflow_friendly_namestring nullable

The friendly name of the Workflow that is controlling the Task.

workspace_sidstring nullable

The SID of the Workspace that contains the Task.

urlstring uri nullable

The absolute URL of the Task resource.

linksobject nullable

The URLs of related resources.

Changes