---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/events/event-types/taskrouter/task#article
headline: Task
description: List of TaskRouter event types regarding Task available in Twilio Event Streams, as well as their JSON schemas and examples.
url: https://www.twilio.com/docs/events/event-types/taskrouter/task
inLanguage: en
dateModified: 2026-10-12T19:18:47.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# Task

## Canceled

`com.twilio.taskrouter.task.canceled`

> \[!NOTE]
>
> The `worker_time_in_previous_activity` field began reporting in seconds starting May 21, 2021. Version 2 of the TaskRouter schema added a new `worker_time_in_previous_activity_ms` field that was not exposed through Event Streams previously. If you want to measure this field in milliseconds, you must use schema version 2.

Task Canceled events are compatible with Webhook and Kinesis sinks. To learn more, you can get started with the [Webhook](/docs/events/webhook-quickstart) or [Kinesis](/docs/events/eventstreams-quickstart) quickstarts and refer to the [product documentation](/docs/taskrouter/api/event).

**Examples**

```json
{
  "specversion" : "1.0",
  "type" : "com.twilio.taskrouter.task.canceled",
  "source" : "AB00000000000000000000000001",
  "id" : "NO00000000000000000000000001",
  "dataschema" : "https://events-schemas.twilio.com/TaskRouter.WDSEvent/4",
  "datacontenttype" : "2025-10-08T07:17:02.363Z",
  "data" : {
    "sid" : "EV0000000000000000000000000000001",
    "name" : "ReservationCreated",
    "account_sid" : "AC0000000000000000000000000000001",
    "account_friendly_name" : "An account name",
    "parent_account_sid" : "AC0000000000000000000000000000001",
    "parent_friendly_name" : "Another account name",
    "timestamp" : "2025-01-01T00:00:00.000Z",
    "level" : "INFO",
    "group" : "reservation",
    "product_name" : "TaskRouter",
    "publisher" : "Flex Task Assignment",
    "publisher_metadata" : "{}",
    "payload_type" : "application/json",
    "payload" : {
      "sid" : "EV0000000000000000000000000000001",
      "eventtype" : "reservation.created",
      "account_sid" : "AC0000000000000000000000000000001",
      "timestamp" : "2025-01-01T00:00:00.000Z",
      "workspace_sid" : "WS0000000000000000000000000000001",
      "workspace_name" : "Flex Task Assignment",
      "task_sid" : "WT0000000000000000000000000000001",
      "task_attributes" : "{}",
      "task_age" : 31088,
      "task_date_created" : "2025-01-01T00:00:00.000Z",
      "task_priority" : 1,
      "task_assignment_status" : "reserved",
      "task_completed_reason" : "All reservations were completed",
      "task_canceled_reason" : "hangup",
      "reason" : "hangup",
      "task_channel_sid" : "TC0000000000000000000000000000001",
      "task_channel_unique_name" : "chat",
      "reservation_sid" : "WR0000000000000000000000000000001",
      "worker_sid" : "WK0000000000000000000000000000001",
      "worker_name" : "Flex Task Assignment",
      "worker_attributes" : "{}",
      "worker_activity_sid" : "WA0000000000000000000000000000001",
      "worker_activity_name" : "handling 2",
      "worker_time_in_previous_activity" : 322,
      "worker_time_in_previous_activity_ms" : 322859,
      "worker_previous_activity_sid" : "WA0000000000000000000000000000002",
      "worker_previous_activity_name" : "handling 1",
      "workflow_sid" : "WW0000000000000000000000000000002",
      "workflow_name" : "My workflow",
      "task_queue_sid" : "WQ0000000000000000000000000000002",
      "task_queue_name" : "My task queue",
      "worker_channel_available" : 1,
      "worker_channel_capacity" : 1,
      "worker_channel_available_capacity" : 100.0,
      "worker_channel_previous_capacity" : 6.0,
      "worker_channel_task_count" : 0,
      "workflow_filter_name" : "My workflow filter name",
      "workflow_filter_expression" : "1==1",
      "workflow_filter_target_expression" : "worker.channel.chat.assigned_tasks <= 1",
      "workflow_filter_target_name" : "My workflow filter target name",
      "previous_task_queue_sid" : "WQ0000000000000000000000000000001",
      "previous_task_queue_name" : "My previous task queue name",
      "previous_task_priority" : 3,
      "target_changed_reason" : "skipped",
      "task_re_evaluated_reason" : "reservation_timeout",
      "task_queue_target_expression" : "allowed_channels HAS \"chat\"",
      "task_transfer_sid" : "TT0000000000000000000000000000001",
      "transfer_type" : "QUEUE",
      "transfer_initiating_worker_sid" : "WK0000000000000000000000000000001",
      "transfer_initiating_reservation_sid" : "WR0000000000000000000000000000001",
      "transfer_to" : "WQ0000000000000000000000000000001",
      "transfer_mode" : "COLD",
      "transfer_started" : "2025-01-01T00:00:00.000Z",
      "transfer_failed_reason" : "",
      "transfer_status" : "complete",
      "event_description" : "Reservation WR0000000000000000000000000000001 created",
      "resource_type" : "reservation",
      "resource_sid" : "WR0000000000000000000000000000001",
      "task_routing_target" : "WK0000000000000000000000000000001",
      "reservation_reason_code" : 45302,
      "task_age_in_queue" : 31086,
      "task_queue_entered_date" : "2025-01-01T00:00:00.000Z",
      "task_version" : 4,
      "reservation_version" : 0,
      "task_virtual_start_time" : "2025-01-01T00:00:00.000Z",
      "worker_channel_consumed_capacity" : 2,
      "worker_version" : 4019,
      "task_channel_name" : "My task channel name",
      "task_channel_optimized_routing" : false,
      "known_worker_sid" : "WK0000000000000000000000000000001",
      "activity_sid" : "WA0000000000000000000000000000001",
      "activity_name" : "My activity name",
      "activity_available" : true,
      "operating_unit_sid" : "OU0000000000000000000000000000001",
      "operating_unit_friendly_name" : "My operating unit",
      "operating_unit_date_created" : "2025-01-01T00:00:00.000Z",
      "operating_unit_date_updated" : "2025-01-01T00:00:00.000Z",
      "task_add_on_attributes" : "{}",
      "task_timeout" : 86400,
      "worker_available" : true,
      "reservation_timeout" : 25,
      "reservation_status" : "accepted"
    }
  }
}
```

**Versions**

* [v4 (latest)](https://events-schemas.twilio.com/TaskRouter.WDSEvent/4)
* [v3](https://events-schemas.twilio.com/TaskRouter.WDSEvent/3)
* [v2](https://events-schemas.twilio.com/TaskRouter.WDSEvent/2)
* [v1](https://events-schemas.twilio.com/TaskRouter.WDSEvent/1)

## Completed

`com.twilio.taskrouter.task.completed`

> \[!NOTE]
>
> The `worker_time_in_previous_activity` field began reporting in seconds starting May 21, 2021. Version 2 of the TaskRouter schema added a new `worker_time_in_previous_activity_ms` field that was not exposed through Event Streams previously. If you want to measure this field in milliseconds, you must use schema version 2.

Task Completed events are compatible with Webhook and Kinesis sinks. To learn more, you can get started with the [Webhook](/docs/events/webhook-quickstart) or [Kinesis](/docs/events/eventstreams-quickstart) quickstarts and refer to the [product documentation](/docs/taskrouter/api/event).

**Examples**

```json
{
  "specversion" : "1.0",
  "type" : "com.twilio.taskrouter.task.completed",
  "source" : "AB00000000000000000000000001",
  "id" : "NO00000000000000000000000001",
  "dataschema" : "https://events-schemas.twilio.com/TaskRouter.WDSEvent/4",
  "datacontenttype" : "2025-10-08T07:17:02.363Z",
  "data" : {
    "sid" : "EV0000000000000000000000000000001",
    "name" : "ReservationCreated",
    "account_sid" : "AC0000000000000000000000000000001",
    "account_friendly_name" : "An account name",
    "parent_account_sid" : "AC0000000000000000000000000000001",
    "parent_friendly_name" : "Another account name",
    "timestamp" : "2025-01-01T00:00:00.000Z",
    "level" : "INFO",
    "group" : "reservation",
    "product_name" : "TaskRouter",
    "publisher" : "Flex Task Assignment",
    "publisher_metadata" : "{}",
    "payload_type" : "application/json",
    "payload" : {
      "sid" : "EV0000000000000000000000000000001",
      "eventtype" : "reservation.created",
      "account_sid" : "AC0000000000000000000000000000001",
      "timestamp" : "2025-01-01T00:00:00.000Z",
      "workspace_sid" : "WS0000000000000000000000000000001",
      "workspace_name" : "Flex Task Assignment",
      "task_sid" : "WT0000000000000000000000000000001",
      "task_attributes" : "{}",
      "task_age" : 31088,
      "task_date_created" : "2025-01-01T00:00:00.000Z",
      "task_priority" : 1,
      "task_assignment_status" : "reserved",
      "task_completed_reason" : "All reservations were completed",
      "task_canceled_reason" : "hangup",
      "reason" : "hangup",
      "task_channel_sid" : "TC0000000000000000000000000000001",
      "task_channel_unique_name" : "chat",
      "reservation_sid" : "WR0000000000000000000000000000001",
      "worker_sid" : "WK0000000000000000000000000000001",
      "worker_name" : "Flex Task Assignment",
      "worker_attributes" : "{}",
      "worker_activity_sid" : "WA0000000000000000000000000000001",
      "worker_activity_name" : "handling 2",
      "worker_time_in_previous_activity" : 322,
      "worker_time_in_previous_activity_ms" : 322859,
      "worker_previous_activity_sid" : "WA0000000000000000000000000000002",
      "worker_previous_activity_name" : "handling 1",
      "workflow_sid" : "WW0000000000000000000000000000002",
      "workflow_name" : "My workflow",
      "task_queue_sid" : "WQ0000000000000000000000000000002",
      "task_queue_name" : "My task queue",
      "worker_channel_available" : 1,
      "worker_channel_capacity" : 1,
      "worker_channel_available_capacity" : 100.0,
      "worker_channel_previous_capacity" : 6.0,
      "worker_channel_task_count" : 0,
      "workflow_filter_name" : "My workflow filter name",
      "workflow_filter_expression" : "1==1",
      "workflow_filter_target_expression" : "worker.channel.chat.assigned_tasks <= 1",
      "workflow_filter_target_name" : "My workflow filter target name",
      "previous_task_queue_sid" : "WQ0000000000000000000000000000001",
      "previous_task_queue_name" : "My previous task queue name",
      "previous_task_priority" : 3,
      "target_changed_reason" : "skipped",
      "task_re_evaluated_reason" : "reservation_timeout",
      "task_queue_target_expression" : "allowed_channels HAS \"chat\"",
      "task_transfer_sid" : "TT0000000000000000000000000000001",
      "transfer_type" : "QUEUE",
      "transfer_initiating_worker_sid" : "WK0000000000000000000000000000001",
      "transfer_initiating_reservation_sid" : "WR0000000000000000000000000000001",
      "transfer_to" : "WQ0000000000000000000000000000001",
      "transfer_mode" : "COLD",
      "transfer_started" : "2025-01-01T00:00:00.000Z",
      "transfer_failed_reason" : "",
      "transfer_status" : "complete",
      "event_description" : "Reservation WR0000000000000000000000000000001 created",
      "resource_type" : "reservation",
      "resource_sid" : "WR0000000000000000000000000000001",
      "task_routing_target" : "WK0000000000000000000000000000001",
      "reservation_reason_code" : 45302,
      "task_age_in_queue" : 31086,
      "task_queue_entered_date" : "2025-01-01T00:00:00.000Z",
      "task_version" : 4,
      "reservation_version" : 0,
      "task_virtual_start_time" : "2025-01-01T00:00:00.000Z",
      "worker_channel_consumed_capacity" : 2,
      "worker_version" : 4019,
      "task_channel_name" : "My task channel name",
      "task_channel_optimized_routing" : false,
      "known_worker_sid" : "WK0000000000000000000000000000001",
      "activity_sid" : "WA0000000000000000000000000000001",
      "activity_name" : "My activity name",
      "activity_available" : true,
      "operating_unit_sid" : "OU0000000000000000000000000000001",
      "operating_unit_friendly_name" : "My operating unit",
      "operating_unit_date_created" : "2025-01-01T00:00:00.000Z",
      "operating_unit_date_updated" : "2025-01-01T00:00:00.000Z",
      "task_add_on_attributes" : "{}",
      "task_timeout" : 86400,
      "worker_available" : true,
      "reservation_timeout" : 25,
      "reservation_status" : "accepted"
    }
  }
}
```

**Versions**

* [v4 (latest)](https://events-schemas.twilio.com/TaskRouter.WDSEvent/4)
* [v3](https://events-schemas.twilio.com/TaskRouter.WDSEvent/3)
* [v2](https://events-schemas.twilio.com/TaskRouter.WDSEvent/2)
* [v1](https://events-schemas.twilio.com/TaskRouter.WDSEvent/1)

## Created

`com.twilio.taskrouter.task.created`

> \[!NOTE]
>
> The `worker_time_in_previous_activity` field began reporting in seconds starting May 21, 2021. Version 2 of the TaskRouter schema added a new `worker_time_in_previous_activity_ms` field that was not exposed through Event Streams previously. If you want to measure this field in milliseconds, you must use schema version 2.

Task Created events are compatible with Webhook and Kinesis sinks. To learn more, you can get started with the [Webhook](/docs/events/webhook-quickstart) or [Kinesis](/docs/events/eventstreams-quickstart) quickstarts and refer to the [product documentation](/docs/taskrouter/api/event).

**Examples**

```json
{
  "specversion" : "1.0",
  "type" : "com.twilio.taskrouter.task.created",
  "source" : "AB00000000000000000000000001",
  "id" : "NO00000000000000000000000001",
  "dataschema" : "https://events-schemas.twilio.com/TaskRouter.WDSEvent/4",
  "datacontenttype" : "2025-10-08T07:17:02.363Z",
  "data" : {
    "sid" : "EV0000000000000000000000000000001",
    "name" : "ReservationCreated",
    "account_sid" : "AC0000000000000000000000000000001",
    "account_friendly_name" : "An account name",
    "parent_account_sid" : "AC0000000000000000000000000000001",
    "parent_friendly_name" : "Another account name",
    "timestamp" : "2025-01-01T00:00:00.000Z",
    "level" : "INFO",
    "group" : "reservation",
    "product_name" : "TaskRouter",
    "publisher" : "Flex Task Assignment",
    "publisher_metadata" : "{}",
    "payload_type" : "application/json",
    "payload" : {
      "sid" : "EV0000000000000000000000000000001",
      "eventtype" : "reservation.created",
      "account_sid" : "AC0000000000000000000000000000001",
      "timestamp" : "2025-01-01T00:00:00.000Z",
      "workspace_sid" : "WS0000000000000000000000000000001",
      "workspace_name" : "Flex Task Assignment",
      "task_sid" : "WT0000000000000000000000000000001",
      "task_attributes" : "{}",
      "task_age" : 31088,
      "task_date_created" : "2025-01-01T00:00:00.000Z",
      "task_priority" : 1,
      "task_assignment_status" : "reserved",
      "task_completed_reason" : "All reservations were completed",
      "task_canceled_reason" : "hangup",
      "reason" : "hangup",
      "task_channel_sid" : "TC0000000000000000000000000000001",
      "task_channel_unique_name" : "chat",
      "reservation_sid" : "WR0000000000000000000000000000001",
      "worker_sid" : "WK0000000000000000000000000000001",
      "worker_name" : "Flex Task Assignment",
      "worker_attributes" : "{}",
      "worker_activity_sid" : "WA0000000000000000000000000000001",
      "worker_activity_name" : "handling 2",
      "worker_time_in_previous_activity" : 322,
      "worker_time_in_previous_activity_ms" : 322859,
      "worker_previous_activity_sid" : "WA0000000000000000000000000000002",
      "worker_previous_activity_name" : "handling 1",
      "workflow_sid" : "WW0000000000000000000000000000002",
      "workflow_name" : "My workflow",
      "task_queue_sid" : "WQ0000000000000000000000000000002",
      "task_queue_name" : "My task queue",
      "worker_channel_available" : 1,
      "worker_channel_capacity" : 1,
      "worker_channel_available_capacity" : 100.0,
      "worker_channel_previous_capacity" : 6.0,
      "worker_channel_task_count" : 0,
      "workflow_filter_name" : "My workflow filter name",
      "workflow_filter_expression" : "1==1",
      "workflow_filter_target_expression" : "worker.channel.chat.assigned_tasks <= 1",
      "workflow_filter_target_name" : "My workflow filter target name",
      "previous_task_queue_sid" : "WQ0000000000000000000000000000001",
      "previous_task_queue_name" : "My previous task queue name",
      "previous_task_priority" : 3,
      "target_changed_reason" : "skipped",
      "task_re_evaluated_reason" : "reservation_timeout",
      "task_queue_target_expression" : "allowed_channels HAS \"chat\"",
      "task_transfer_sid" : "TT0000000000000000000000000000001",
      "transfer_type" : "QUEUE",
      "transfer_initiating_worker_sid" : "WK0000000000000000000000000000001",
      "transfer_initiating_reservation_sid" : "WR0000000000000000000000000000001",
      "transfer_to" : "WQ0000000000000000000000000000001",
      "transfer_mode" : "COLD",
      "transfer_started" : "2025-01-01T00:00:00.000Z",
      "transfer_failed_reason" : "",
      "transfer_status" : "complete",
      "event_description" : "Reservation WR0000000000000000000000000000001 created",
      "resource_type" : "reservation",
      "resource_sid" : "WR0000000000000000000000000000001",
      "task_routing_target" : "WK0000000000000000000000000000001",
      "reservation_reason_code" : 45302,
      "task_age_in_queue" : 31086,
      "task_queue_entered_date" : "2025-01-01T00:00:00.000Z",
      "task_version" : 4,
      "reservation_version" : 0,
      "task_virtual_start_time" : "2025-01-01T00:00:00.000Z",
      "worker_channel_consumed_capacity" : 2,
      "worker_version" : 4019,
      "task_channel_name" : "My task channel name",
      "task_channel_optimized_routing" : false,
      "known_worker_sid" : "WK0000000000000000000000000000001",
      "activity_sid" : "WA0000000000000000000000000000001",
      "activity_name" : "My activity name",
      "activity_available" : true,
      "operating_unit_sid" : "OU0000000000000000000000000000001",
      "operating_unit_friendly_name" : "My operating unit",
      "operating_unit_date_created" : "2025-01-01T00:00:00.000Z",
      "operating_unit_date_updated" : "2025-01-01T00:00:00.000Z",
      "task_add_on_attributes" : "{}",
      "task_timeout" : 86400,
      "worker_available" : true,
      "reservation_timeout" : 25,
      "reservation_status" : "accepted"
    }
  }
}
```

**Versions**

* [v4 (latest)](https://events-schemas.twilio.com/TaskRouter.WDSEvent/4)
* [v3](https://events-schemas.twilio.com/TaskRouter.WDSEvent/3)
* [v2](https://events-schemas.twilio.com/TaskRouter.WDSEvent/2)
* [v1](https://events-schemas.twilio.com/TaskRouter.WDSEvent/1)

## Deleted

`com.twilio.taskrouter.task.deleted`

> \[!NOTE]
>
> The `worker_time_in_previous_activity` field began reporting in seconds starting May 21, 2021. Version 2 of the TaskRouter schema added a new `worker_time_in_previous_activity_ms` field that was not exposed through Event Streams previously. If you want to measure this field in milliseconds, you must use schema version 2.

Task Deleted events are compatible with Webhook and Kinesis sinks. To learn more, you can get started with the [Webhook](/docs/events/webhook-quickstart) or [Kinesis](/docs/events/eventstreams-quickstart) quickstarts and refer to the [product documentation](/docs/taskrouter/api/event).

**Examples**

```json
{
  "specversion" : "1.0",
  "type" : "com.twilio.taskrouter.task.deleted",
  "source" : "AB00000000000000000000000001",
  "id" : "NO00000000000000000000000001",
  "dataschema" : "https://events-schemas.twilio.com/TaskRouter.WDSEvent/4",
  "datacontenttype" : "2025-10-08T07:17:02.363Z",
  "data" : {
    "sid" : "EV0000000000000000000000000000001",
    "name" : "ReservationCreated",
    "account_sid" : "AC0000000000000000000000000000001",
    "account_friendly_name" : "An account name",
    "parent_account_sid" : "AC0000000000000000000000000000001",
    "parent_friendly_name" : "Another account name",
    "timestamp" : "2025-01-01T00:00:00.000Z",
    "level" : "INFO",
    "group" : "reservation",
    "product_name" : "TaskRouter",
    "publisher" : "Flex Task Assignment",
    "publisher_metadata" : "{}",
    "payload_type" : "application/json",
    "payload" : {
      "sid" : "EV0000000000000000000000000000001",
      "eventtype" : "reservation.created",
      "account_sid" : "AC0000000000000000000000000000001",
      "timestamp" : "2025-01-01T00:00:00.000Z",
      "workspace_sid" : "WS0000000000000000000000000000001",
      "workspace_name" : "Flex Task Assignment",
      "task_sid" : "WT0000000000000000000000000000001",
      "task_attributes" : "{}",
      "task_age" : 31088,
      "task_date_created" : "2025-01-01T00:00:00.000Z",
      "task_priority" : 1,
      "task_assignment_status" : "reserved",
      "task_completed_reason" : "All reservations were completed",
      "task_canceled_reason" : "hangup",
      "reason" : "hangup",
      "task_channel_sid" : "TC0000000000000000000000000000001",
      "task_channel_unique_name" : "chat",
      "reservation_sid" : "WR0000000000000000000000000000001",
      "worker_sid" : "WK0000000000000000000000000000001",
      "worker_name" : "Flex Task Assignment",
      "worker_attributes" : "{}",
      "worker_activity_sid" : "WA0000000000000000000000000000001",
      "worker_activity_name" : "handling 2",
      "worker_time_in_previous_activity" : 322,
      "worker_time_in_previous_activity_ms" : 322859,
      "worker_previous_activity_sid" : "WA0000000000000000000000000000002",
      "worker_previous_activity_name" : "handling 1",
      "workflow_sid" : "WW0000000000000000000000000000002",
      "workflow_name" : "My workflow",
      "task_queue_sid" : "WQ0000000000000000000000000000002",
      "task_queue_name" : "My task queue",
      "worker_channel_available" : 1,
      "worker_channel_capacity" : 1,
      "worker_channel_available_capacity" : 100.0,
      "worker_channel_previous_capacity" : 6.0,
      "worker_channel_task_count" : 0,
      "workflow_filter_name" : "My workflow filter name",
      "workflow_filter_expression" : "1==1",
      "workflow_filter_target_expression" : "worker.channel.chat.assigned_tasks <= 1",
      "workflow_filter_target_name" : "My workflow filter target name",
      "previous_task_queue_sid" : "WQ0000000000000000000000000000001",
      "previous_task_queue_name" : "My previous task queue name",
      "previous_task_priority" : 3,
      "target_changed_reason" : "skipped",
      "task_re_evaluated_reason" : "reservation_timeout",
      "task_queue_target_expression" : "allowed_channels HAS \"chat\"",
      "task_transfer_sid" : "TT0000000000000000000000000000001",
      "transfer_type" : "QUEUE",
      "transfer_initiating_worker_sid" : "WK0000000000000000000000000000001",
      "transfer_initiating_reservation_sid" : "WR0000000000000000000000000000001",
      "transfer_to" : "WQ0000000000000000000000000000001",
      "transfer_mode" : "COLD",
      "transfer_started" : "2025-01-01T00:00:00.000Z",
      "transfer_failed_reason" : "",
      "transfer_status" : "complete",
      "event_description" : "Reservation WR0000000000000000000000000000001 created",
      "resource_type" : "reservation",
      "resource_sid" : "WR0000000000000000000000000000001",
      "task_routing_target" : "WK0000000000000000000000000000001",
      "reservation_reason_code" : 45302,
      "task_age_in_queue" : 31086,
      "task_queue_entered_date" : "2025-01-01T00:00:00.000Z",
      "task_version" : 4,
      "reservation_version" : 0,
      "task_virtual_start_time" : "2025-01-01T00:00:00.000Z",
      "worker_channel_consumed_capacity" : 2,
      "worker_version" : 4019,
      "task_channel_name" : "My task channel name",
      "task_channel_optimized_routing" : false,
      "known_worker_sid" : "WK0000000000000000000000000000001",
      "activity_sid" : "WA0000000000000000000000000000001",
      "activity_name" : "My activity name",
      "activity_available" : true,
      "operating_unit_sid" : "OU0000000000000000000000000000001",
      "operating_unit_friendly_name" : "My operating unit",
      "operating_unit_date_created" : "2025-01-01T00:00:00.000Z",
      "operating_unit_date_updated" : "2025-01-01T00:00:00.000Z",
      "task_add_on_attributes" : "{}",
      "task_timeout" : 86400,
      "worker_available" : true,
      "reservation_timeout" : 25,
      "reservation_status" : "accepted"
    }
  }
}
```

**Versions**

* [v4 (latest)](https://events-schemas.twilio.com/TaskRouter.WDSEvent/4)
* [v3](https://events-schemas.twilio.com/TaskRouter.WDSEvent/3)
* [v2](https://events-schemas.twilio.com/TaskRouter.WDSEvent/2)
* [v1](https://events-schemas.twilio.com/TaskRouter.WDSEvent/1)

## System Deleted

`com.twilio.taskrouter.task.system-deleted`

> \[!NOTE]
>
> The `worker_time_in_previous_activity` field began reporting in seconds starting May 21, 2021. Version 2 of the TaskRouter schema added a new `worker_time_in_previous_activity_ms` field that was not exposed through Event Streams previously. If you want to measure this field in milliseconds, you must use schema version 2.

Task System Deleted events are compatible with Webhook and Kinesis sinks. To learn more, you can get started with the [Webhook](/docs/events/webhook-quickstart) or [Kinesis](/docs/events/eventstreams-quickstart) quickstarts and refer to the [product documentation](/docs/taskrouter/api/event).

**Examples**

```json
{
  "specversion" : "1.0",
  "type" : "com.twilio.taskrouter.task.system-deleted",
  "source" : "AB00000000000000000000000001",
  "id" : "NO00000000000000000000000001",
  "dataschema" : "https://events-schemas.twilio.com/TaskRouter.WDSEvent/4",
  "datacontenttype" : "2025-10-08T07:17:02.363Z",
  "data" : {
    "sid" : "EV0000000000000000000000000000001",
    "name" : "ReservationCreated",
    "account_sid" : "AC0000000000000000000000000000001",
    "account_friendly_name" : "An account name",
    "parent_account_sid" : "AC0000000000000000000000000000001",
    "parent_friendly_name" : "Another account name",
    "timestamp" : "2025-01-01T00:00:00.000Z",
    "level" : "INFO",
    "group" : "reservation",
    "product_name" : "TaskRouter",
    "publisher" : "Flex Task Assignment",
    "publisher_metadata" : "{}",
    "payload_type" : "application/json",
    "payload" : {
      "sid" : "EV0000000000000000000000000000001",
      "eventtype" : "reservation.created",
      "account_sid" : "AC0000000000000000000000000000001",
      "timestamp" : "2025-01-01T00:00:00.000Z",
      "workspace_sid" : "WS0000000000000000000000000000001",
      "workspace_name" : "Flex Task Assignment",
      "task_sid" : "WT0000000000000000000000000000001",
      "task_attributes" : "{}",
      "task_age" : 31088,
      "task_date_created" : "2025-01-01T00:00:00.000Z",
      "task_priority" : 1,
      "task_assignment_status" : "reserved",
      "task_completed_reason" : "All reservations were completed",
      "task_canceled_reason" : "hangup",
      "reason" : "hangup",
      "task_channel_sid" : "TC0000000000000000000000000000001",
      "task_channel_unique_name" : "chat",
      "reservation_sid" : "WR0000000000000000000000000000001",
      "worker_sid" : "WK0000000000000000000000000000001",
      "worker_name" : "Flex Task Assignment",
      "worker_attributes" : "{}",
      "worker_activity_sid" : "WA0000000000000000000000000000001",
      "worker_activity_name" : "handling 2",
      "worker_time_in_previous_activity" : 322,
      "worker_time_in_previous_activity_ms" : 322859,
      "worker_previous_activity_sid" : "WA0000000000000000000000000000002",
      "worker_previous_activity_name" : "handling 1",
      "workflow_sid" : "WW0000000000000000000000000000002",
      "workflow_name" : "My workflow",
      "task_queue_sid" : "WQ0000000000000000000000000000002",
      "task_queue_name" : "My task queue",
      "worker_channel_available" : 1,
      "worker_channel_capacity" : 1,
      "worker_channel_available_capacity" : 100.0,
      "worker_channel_previous_capacity" : 6.0,
      "worker_channel_task_count" : 0,
      "workflow_filter_name" : "My workflow filter name",
      "workflow_filter_expression" : "1==1",
      "workflow_filter_target_expression" : "worker.channel.chat.assigned_tasks <= 1",
      "workflow_filter_target_name" : "My workflow filter target name",
      "previous_task_queue_sid" : "WQ0000000000000000000000000000001",
      "previous_task_queue_name" : "My previous task queue name",
      "previous_task_priority" : 3,
      "target_changed_reason" : "skipped",
      "task_re_evaluated_reason" : "reservation_timeout",
      "task_queue_target_expression" : "allowed_channels HAS \"chat\"",
      "task_transfer_sid" : "TT0000000000000000000000000000001",
      "transfer_type" : "QUEUE",
      "transfer_initiating_worker_sid" : "WK0000000000000000000000000000001",
      "transfer_initiating_reservation_sid" : "WR0000000000000000000000000000001",
      "transfer_to" : "WQ0000000000000000000000000000001",
      "transfer_mode" : "COLD",
      "transfer_started" : "2025-01-01T00:00:00.000Z",
      "transfer_failed_reason" : "",
      "transfer_status" : "complete",
      "event_description" : "Reservation WR0000000000000000000000000000001 created",
      "resource_type" : "reservation",
      "resource_sid" : "WR0000000000000000000000000000001",
      "task_routing_target" : "WK0000000000000000000000000000001",
      "reservation_reason_code" : 45302,
      "task_age_in_queue" : 31086,
      "task_queue_entered_date" : "2025-01-01T00:00:00.000Z",
      "task_version" : 4,
      "reservation_version" : 0,
      "task_virtual_start_time" : "2025-01-01T00:00:00.000Z",
      "worker_channel_consumed_capacity" : 2,
      "worker_version" : 4019,
      "task_channel_name" : "My task channel name",
      "task_channel_optimized_routing" : false,
      "known_worker_sid" : "WK0000000000000000000000000000001",
      "activity_sid" : "WA0000000000000000000000000000001",
      "activity_name" : "My activity name",
      "activity_available" : true,
      "operating_unit_sid" : "OU0000000000000000000000000000001",
      "operating_unit_friendly_name" : "My operating unit",
      "operating_unit_date_created" : "2025-01-01T00:00:00.000Z",
      "operating_unit_date_updated" : "2025-01-01T00:00:00.000Z",
      "task_add_on_attributes" : "{}",
      "task_timeout" : 86400,
      "worker_available" : true,
      "reservation_timeout" : 25,
      "reservation_status" : "accepted"
    }
  }
}
```

**Versions**

* [v4 (latest)](https://events-schemas.twilio.com/TaskRouter.WDSEvent/4)
* [v3](https://events-schemas.twilio.com/TaskRouter.WDSEvent/3)
* [v2](https://events-schemas.twilio.com/TaskRouter.WDSEvent/2)
* [v1](https://events-schemas.twilio.com/TaskRouter.WDSEvent/1)

## Transfer Attempt Failed

`com.twilio.taskrouter.task.transfer-attempt-failed`

> \[!NOTE]
>
> The `worker_time_in_previous_activity` field began reporting in seconds starting May 21, 2021. Version 2 of the TaskRouter schema added a new `worker_time_in_previous_activity_ms` field that was not exposed through Event Streams previously. If you want to measure this field in milliseconds, you must use schema version 2.

Task Transfer Attempt Failed events are compatible with Webhook and Kinesis sinks. To learn more, you can get started with the [Webhook](/docs/events/webhook-quickstart) or [Kinesis](/docs/events/eventstreams-quickstart) quickstarts and refer to the [product documentation](/docs/taskrouter/api/event).

**Examples**

```json
{
  "specversion" : "1.0",
  "type" : "com.twilio.taskrouter.task.transfer-attempt-failed",
  "source" : "AB00000000000000000000000001",
  "id" : "NO00000000000000000000000001",
  "dataschema" : "https://events-schemas.twilio.com/TaskRouter.WDSEvent/4",
  "datacontenttype" : "2025-10-08T07:17:02.363Z",
  "data" : {
    "sid" : "EV0000000000000000000000000000001",
    "name" : "ReservationCreated",
    "account_sid" : "AC0000000000000000000000000000001",
    "account_friendly_name" : "An account name",
    "parent_account_sid" : "AC0000000000000000000000000000001",
    "parent_friendly_name" : "Another account name",
    "timestamp" : "2025-01-01T00:00:00.000Z",
    "level" : "INFO",
    "group" : "reservation",
    "product_name" : "TaskRouter",
    "publisher" : "Flex Task Assignment",
    "publisher_metadata" : "{}",
    "payload_type" : "application/json",
    "payload" : {
      "sid" : "EV0000000000000000000000000000001",
      "eventtype" : "reservation.created",
      "account_sid" : "AC0000000000000000000000000000001",
      "timestamp" : "2025-01-01T00:00:00.000Z",
      "workspace_sid" : "WS0000000000000000000000000000001",
      "workspace_name" : "Flex Task Assignment",
      "task_sid" : "WT0000000000000000000000000000001",
      "task_attributes" : "{}",
      "task_age" : 31088,
      "task_date_created" : "2025-01-01T00:00:00.000Z",
      "task_priority" : 1,
      "task_assignment_status" : "reserved",
      "task_completed_reason" : "All reservations were completed",
      "task_canceled_reason" : "hangup",
      "reason" : "hangup",
      "task_channel_sid" : "TC0000000000000000000000000000001",
      "task_channel_unique_name" : "chat",
      "reservation_sid" : "WR0000000000000000000000000000001",
      "worker_sid" : "WK0000000000000000000000000000001",
      "worker_name" : "Flex Task Assignment",
      "worker_attributes" : "{}",
      "worker_activity_sid" : "WA0000000000000000000000000000001",
      "worker_activity_name" : "handling 2",
      "worker_time_in_previous_activity" : 322,
      "worker_time_in_previous_activity_ms" : 322859,
      "worker_previous_activity_sid" : "WA0000000000000000000000000000002",
      "worker_previous_activity_name" : "handling 1",
      "workflow_sid" : "WW0000000000000000000000000000002",
      "workflow_name" : "My workflow",
      "task_queue_sid" : "WQ0000000000000000000000000000002",
      "task_queue_name" : "My task queue",
      "worker_channel_available" : 1,
      "worker_channel_capacity" : 1,
      "worker_channel_available_capacity" : 100.0,
      "worker_channel_previous_capacity" : 6.0,
      "worker_channel_task_count" : 0,
      "workflow_filter_name" : "My workflow filter name",
      "workflow_filter_expression" : "1==1",
      "workflow_filter_target_expression" : "worker.channel.chat.assigned_tasks <= 1",
      "workflow_filter_target_name" : "My workflow filter target name",
      "previous_task_queue_sid" : "WQ0000000000000000000000000000001",
      "previous_task_queue_name" : "My previous task queue name",
      "previous_task_priority" : 3,
      "target_changed_reason" : "skipped",
      "task_re_evaluated_reason" : "reservation_timeout",
      "task_queue_target_expression" : "allowed_channels HAS \"chat\"",
      "task_transfer_sid" : "TT0000000000000000000000000000001",
      "transfer_type" : "QUEUE",
      "transfer_initiating_worker_sid" : "WK0000000000000000000000000000001",
      "transfer_initiating_reservation_sid" : "WR0000000000000000000000000000001",
      "transfer_to" : "WQ0000000000000000000000000000001",
      "transfer_mode" : "COLD",
      "transfer_started" : "2025-01-01T00:00:00.000Z",
      "transfer_failed_reason" : "",
      "transfer_status" : "complete",
      "event_description" : "Reservation WR0000000000000000000000000000001 created",
      "resource_type" : "reservation",
      "resource_sid" : "WR0000000000000000000000000000001",
      "task_routing_target" : "WK0000000000000000000000000000001",
      "reservation_reason_code" : 45302,
      "task_age_in_queue" : 31086,
      "task_queue_entered_date" : "2025-01-01T00:00:00.000Z",
      "task_version" : 4,
      "reservation_version" : 0,
      "task_virtual_start_time" : "2025-01-01T00:00:00.000Z",
      "worker_channel_consumed_capacity" : 2,
      "worker_version" : 4019,
      "task_channel_name" : "My task channel name",
      "task_channel_optimized_routing" : false,
      "known_worker_sid" : "WK0000000000000000000000000000001",
      "activity_sid" : "WA0000000000000000000000000000001",
      "activity_name" : "My activity name",
      "activity_available" : true,
      "operating_unit_sid" : "OU0000000000000000000000000000001",
      "operating_unit_friendly_name" : "My operating unit",
      "operating_unit_date_created" : "2025-01-01T00:00:00.000Z",
      "operating_unit_date_updated" : "2025-01-01T00:00:00.000Z",
      "task_add_on_attributes" : "{}",
      "task_timeout" : 86400,
      "worker_available" : true,
      "reservation_timeout" : 25,
      "reservation_status" : "accepted"
    }
  }
}
```

**Versions**

* [v4 (latest)](https://events-schemas.twilio.com/TaskRouter.WDSEvent/4)
* [v3](https://events-schemas.twilio.com/TaskRouter.WDSEvent/3)
* [v2](https://events-schemas.twilio.com/TaskRouter.WDSEvent/2)
* [v1](https://events-schemas.twilio.com/TaskRouter.WDSEvent/1)

## Transfer Canceled

`com.twilio.taskrouter.task.transfer-canceled`

> \[!NOTE]
>
> The `worker_time_in_previous_activity` field began reporting in seconds starting May 21, 2021. Version 2 of the TaskRouter schema added a new `worker_time_in_previous_activity_ms` field that was not exposed through Event Streams previously. If you want to measure this field in milliseconds, you must use schema version 2.

Task Transfer Canceled events are compatible with Webhook and Kinesis sinks. To learn more, you can get started with the [Webhook](/docs/events/webhook-quickstart) or [Kinesis](/docs/events/eventstreams-quickstart) quickstarts and refer to the [product documentation](/docs/taskrouter/api/event).

**Examples**

```json
{
  "specversion" : "1.0",
  "type" : "com.twilio.taskrouter.task.transfer-canceled",
  "source" : "AB00000000000000000000000001",
  "id" : "NO00000000000000000000000001",
  "dataschema" : "https://events-schemas.twilio.com/TaskRouter.WDSEvent/4",
  "datacontenttype" : "2025-10-08T07:17:02.363Z",
  "data" : {
    "sid" : "EV0000000000000000000000000000001",
    "name" : "ReservationCreated",
    "account_sid" : "AC0000000000000000000000000000001",
    "account_friendly_name" : "An account name",
    "parent_account_sid" : "AC0000000000000000000000000000001",
    "parent_friendly_name" : "Another account name",
    "timestamp" : "2025-01-01T00:00:00.000Z",
    "level" : "INFO",
    "group" : "reservation",
    "product_name" : "TaskRouter",
    "publisher" : "Flex Task Assignment",
    "publisher_metadata" : "{}",
    "payload_type" : "application/json",
    "payload" : {
      "sid" : "EV0000000000000000000000000000001",
      "eventtype" : "reservation.created",
      "account_sid" : "AC0000000000000000000000000000001",
      "timestamp" : "2025-01-01T00:00:00.000Z",
      "workspace_sid" : "WS0000000000000000000000000000001",
      "workspace_name" : "Flex Task Assignment",
      "task_sid" : "WT0000000000000000000000000000001",
      "task_attributes" : "{}",
      "task_age" : 31088,
      "task_date_created" : "2025-01-01T00:00:00.000Z",
      "task_priority" : 1,
      "task_assignment_status" : "reserved",
      "task_completed_reason" : "All reservations were completed",
      "task_canceled_reason" : "hangup",
      "reason" : "hangup",
      "task_channel_sid" : "TC0000000000000000000000000000001",
      "task_channel_unique_name" : "chat",
      "reservation_sid" : "WR0000000000000000000000000000001",
      "worker_sid" : "WK0000000000000000000000000000001",
      "worker_name" : "Flex Task Assignment",
      "worker_attributes" : "{}",
      "worker_activity_sid" : "WA0000000000000000000000000000001",
      "worker_activity_name" : "handling 2",
      "worker_time_in_previous_activity" : 322,
      "worker_time_in_previous_activity_ms" : 322859,
      "worker_previous_activity_sid" : "WA0000000000000000000000000000002",
      "worker_previous_activity_name" : "handling 1",
      "workflow_sid" : "WW0000000000000000000000000000002",
      "workflow_name" : "My workflow",
      "task_queue_sid" : "WQ0000000000000000000000000000002",
      "task_queue_name" : "My task queue",
      "worker_channel_available" : 1,
      "worker_channel_capacity" : 1,
      "worker_channel_available_capacity" : 100.0,
      "worker_channel_previous_capacity" : 6.0,
      "worker_channel_task_count" : 0,
      "workflow_filter_name" : "My workflow filter name",
      "workflow_filter_expression" : "1==1",
      "workflow_filter_target_expression" : "worker.channel.chat.assigned_tasks <= 1",
      "workflow_filter_target_name" : "My workflow filter target name",
      "previous_task_queue_sid" : "WQ0000000000000000000000000000001",
      "previous_task_queue_name" : "My previous task queue name",
      "previous_task_priority" : 3,
      "target_changed_reason" : "skipped",
      "task_re_evaluated_reason" : "reservation_timeout",
      "task_queue_target_expression" : "allowed_channels HAS \"chat\"",
      "task_transfer_sid" : "TT0000000000000000000000000000001",
      "transfer_type" : "QUEUE",
      "transfer_initiating_worker_sid" : "WK0000000000000000000000000000001",
      "transfer_initiating_reservation_sid" : "WR0000000000000000000000000000001",
      "transfer_to" : "WQ0000000000000000000000000000001",
      "transfer_mode" : "COLD",
      "transfer_started" : "2025-01-01T00:00:00.000Z",
      "transfer_failed_reason" : "",
      "transfer_status" : "complete",
      "event_description" : "Reservation WR0000000000000000000000000000001 created",
      "resource_type" : "reservation",
      "resource_sid" : "WR0000000000000000000000000000001",
      "task_routing_target" : "WK0000000000000000000000000000001",
      "reservation_reason_code" : 45302,
      "task_age_in_queue" : 31086,
      "task_queue_entered_date" : "2025-01-01T00:00:00.000Z",
      "task_version" : 4,
      "reservation_version" : 0,
      "task_virtual_start_time" : "2025-01-01T00:00:00.000Z",
      "worker_channel_consumed_capacity" : 2,
      "worker_version" : 4019,
      "task_channel_name" : "My task channel name",
      "task_channel_optimized_routing" : false,
      "known_worker_sid" : "WK0000000000000000000000000000001",
      "activity_sid" : "WA0000000000000000000000000000001",
      "activity_name" : "My activity name",
      "activity_available" : true,
      "operating_unit_sid" : "OU0000000000000000000000000000001",
      "operating_unit_friendly_name" : "My operating unit",
      "operating_unit_date_created" : "2025-01-01T00:00:00.000Z",
      "operating_unit_date_updated" : "2025-01-01T00:00:00.000Z",
      "task_add_on_attributes" : "{}",
      "task_timeout" : 86400,
      "worker_available" : true,
      "reservation_timeout" : 25,
      "reservation_status" : "accepted"
    }
  }
}
```

**Versions**

* [v4 (latest)](https://events-schemas.twilio.com/TaskRouter.WDSEvent/4)
* [v3](https://events-schemas.twilio.com/TaskRouter.WDSEvent/3)
* [v2](https://events-schemas.twilio.com/TaskRouter.WDSEvent/2)
* [v1](https://events-schemas.twilio.com/TaskRouter.WDSEvent/1)

## Transfer Completed

`com.twilio.taskrouter.task.transfer-completed`

> \[!NOTE]
>
> The `worker_time_in_previous_activity` field began reporting in seconds starting May 21, 2021. Version 2 of the TaskRouter schema added a new `worker_time_in_previous_activity_ms` field that was not exposed through Event Streams previously. If you want to measure this field in milliseconds, you must use schema version 2.

Task Transfer Completed events are compatible with Webhook and Kinesis sinks. To learn more, you can get started with the [Webhook](/docs/events/webhook-quickstart) or [Kinesis](/docs/events/eventstreams-quickstart) quickstarts and refer to the [product documentation](/docs/taskrouter/api/event).

**Examples**

```json
{
  "specversion" : "1.0",
  "type" : "com.twilio.taskrouter.task.transfer-completed",
  "source" : "AB00000000000000000000000001",
  "id" : "NO00000000000000000000000001",
  "dataschema" : "https://events-schemas.twilio.com/TaskRouter.WDSEvent/4",
  "datacontenttype" : "2025-10-08T07:17:02.363Z",
  "data" : {
    "sid" : "EV0000000000000000000000000000001",
    "name" : "ReservationCreated",
    "account_sid" : "AC0000000000000000000000000000001",
    "account_friendly_name" : "An account name",
    "parent_account_sid" : "AC0000000000000000000000000000001",
    "parent_friendly_name" : "Another account name",
    "timestamp" : "2025-01-01T00:00:00.000Z",
    "level" : "INFO",
    "group" : "reservation",
    "product_name" : "TaskRouter",
    "publisher" : "Flex Task Assignment",
    "publisher_metadata" : "{}",
    "payload_type" : "application/json",
    "payload" : {
      "sid" : "EV0000000000000000000000000000001",
      "eventtype" : "reservation.created",
      "account_sid" : "AC0000000000000000000000000000001",
      "timestamp" : "2025-01-01T00:00:00.000Z",
      "workspace_sid" : "WS0000000000000000000000000000001",
      "workspace_name" : "Flex Task Assignment",
      "task_sid" : "WT0000000000000000000000000000001",
      "task_attributes" : "{}",
      "task_age" : 31088,
      "task_date_created" : "2025-01-01T00:00:00.000Z",
      "task_priority" : 1,
      "task_assignment_status" : "reserved",
      "task_completed_reason" : "All reservations were completed",
      "task_canceled_reason" : "hangup",
      "reason" : "hangup",
      "task_channel_sid" : "TC0000000000000000000000000000001",
      "task_channel_unique_name" : "chat",
      "reservation_sid" : "WR0000000000000000000000000000001",
      "worker_sid" : "WK0000000000000000000000000000001",
      "worker_name" : "Flex Task Assignment",
      "worker_attributes" : "{}",
      "worker_activity_sid" : "WA0000000000000000000000000000001",
      "worker_activity_name" : "handling 2",
      "worker_time_in_previous_activity" : 322,
      "worker_time_in_previous_activity_ms" : 322859,
      "worker_previous_activity_sid" : "WA0000000000000000000000000000002",
      "worker_previous_activity_name" : "handling 1",
      "workflow_sid" : "WW0000000000000000000000000000002",
      "workflow_name" : "My workflow",
      "task_queue_sid" : "WQ0000000000000000000000000000002",
      "task_queue_name" : "My task queue",
      "worker_channel_available" : 1,
      "worker_channel_capacity" : 1,
      "worker_channel_available_capacity" : 100.0,
      "worker_channel_previous_capacity" : 6.0,
      "worker_channel_task_count" : 0,
      "workflow_filter_name" : "My workflow filter name",
      "workflow_filter_expression" : "1==1",
      "workflow_filter_target_expression" : "worker.channel.chat.assigned_tasks <= 1",
      "workflow_filter_target_name" : "My workflow filter target name",
      "previous_task_queue_sid" : "WQ0000000000000000000000000000001",
      "previous_task_queue_name" : "My previous task queue name",
      "previous_task_priority" : 3,
      "target_changed_reason" : "skipped",
      "task_re_evaluated_reason" : "reservation_timeout",
      "task_queue_target_expression" : "allowed_channels HAS \"chat\"",
      "task_transfer_sid" : "TT0000000000000000000000000000001",
      "transfer_type" : "QUEUE",
      "transfer_initiating_worker_sid" : "WK0000000000000000000000000000001",
      "transfer_initiating_reservation_sid" : "WR0000000000000000000000000000001",
      "transfer_to" : "WQ0000000000000000000000000000001",
      "transfer_mode" : "COLD",
      "transfer_started" : "2025-01-01T00:00:00.000Z",
      "transfer_failed_reason" : "",
      "transfer_status" : "complete",
      "event_description" : "Reservation WR0000000000000000000000000000001 created",
      "resource_type" : "reservation",
      "resource_sid" : "WR0000000000000000000000000000001",
      "task_routing_target" : "WK0000000000000000000000000000001",
      "reservation_reason_code" : 45302,
      "task_age_in_queue" : 31086,
      "task_queue_entered_date" : "2025-01-01T00:00:00.000Z",
      "task_version" : 4,
      "reservation_version" : 0,
      "task_virtual_start_time" : "2025-01-01T00:00:00.000Z",
      "worker_channel_consumed_capacity" : 2,
      "worker_version" : 4019,
      "task_channel_name" : "My task channel name",
      "task_channel_optimized_routing" : false,
      "known_worker_sid" : "WK0000000000000000000000000000001",
      "activity_sid" : "WA0000000000000000000000000000001",
      "activity_name" : "My activity name",
      "activity_available" : true,
      "operating_unit_sid" : "OU0000000000000000000000000000001",
      "operating_unit_friendly_name" : "My operating unit",
      "operating_unit_date_created" : "2025-01-01T00:00:00.000Z",
      "operating_unit_date_updated" : "2025-01-01T00:00:00.000Z",
      "task_add_on_attributes" : "{}",
      "task_timeout" : 86400,
      "worker_available" : true,
      "reservation_timeout" : 25,
      "reservation_status" : "accepted"
    }
  }
}
```

**Versions**

* [v4 (latest)](https://events-schemas.twilio.com/TaskRouter.WDSEvent/4)
* [v3](https://events-schemas.twilio.com/TaskRouter.WDSEvent/3)
* [v2](https://events-schemas.twilio.com/TaskRouter.WDSEvent/2)
* [v1](https://events-schemas.twilio.com/TaskRouter.WDSEvent/1)

## Transfer Failed

`com.twilio.taskrouter.task.transfer-failed`

> \[!NOTE]
>
> The `worker_time_in_previous_activity` field began reporting in seconds starting May 21, 2021. Version 2 of the TaskRouter schema added a new `worker_time_in_previous_activity_ms` field that was not exposed through Event Streams previously. If you want to measure this field in milliseconds, you must use schema version 2.

Task Transfer Failed events are compatible with Webhook and Kinesis sinks. To learn more, you can get started with the [Webhook](/docs/events/webhook-quickstart) or [Kinesis](/docs/events/eventstreams-quickstart) quickstarts and refer to the [product documentation](/docs/taskrouter/api/event).

**Examples**

```json
{
  "specversion" : "1.0",
  "type" : "com.twilio.taskrouter.task.transfer-failed",
  "source" : "AB00000000000000000000000001",
  "id" : "NO00000000000000000000000001",
  "dataschema" : "https://events-schemas.twilio.com/TaskRouter.WDSEvent/4",
  "datacontenttype" : "2025-10-08T07:17:02.363Z",
  "data" : {
    "sid" : "EV0000000000000000000000000000001",
    "name" : "ReservationCreated",
    "account_sid" : "AC0000000000000000000000000000001",
    "account_friendly_name" : "An account name",
    "parent_account_sid" : "AC0000000000000000000000000000001",
    "parent_friendly_name" : "Another account name",
    "timestamp" : "2025-01-01T00:00:00.000Z",
    "level" : "INFO",
    "group" : "reservation",
    "product_name" : "TaskRouter",
    "publisher" : "Flex Task Assignment",
    "publisher_metadata" : "{}",
    "payload_type" : "application/json",
    "payload" : {
      "sid" : "EV0000000000000000000000000000001",
      "eventtype" : "reservation.created",
      "account_sid" : "AC0000000000000000000000000000001",
      "timestamp" : "2025-01-01T00:00:00.000Z",
      "workspace_sid" : "WS0000000000000000000000000000001",
      "workspace_name" : "Flex Task Assignment",
      "task_sid" : "WT0000000000000000000000000000001",
      "task_attributes" : "{}",
      "task_age" : 31088,
      "task_date_created" : "2025-01-01T00:00:00.000Z",
      "task_priority" : 1,
      "task_assignment_status" : "reserved",
      "task_completed_reason" : "All reservations were completed",
      "task_canceled_reason" : "hangup",
      "reason" : "hangup",
      "task_channel_sid" : "TC0000000000000000000000000000001",
      "task_channel_unique_name" : "chat",
      "reservation_sid" : "WR0000000000000000000000000000001",
      "worker_sid" : "WK0000000000000000000000000000001",
      "worker_name" : "Flex Task Assignment",
      "worker_attributes" : "{}",
      "worker_activity_sid" : "WA0000000000000000000000000000001",
      "worker_activity_name" : "handling 2",
      "worker_time_in_previous_activity" : 322,
      "worker_time_in_previous_activity_ms" : 322859,
      "worker_previous_activity_sid" : "WA0000000000000000000000000000002",
      "worker_previous_activity_name" : "handling 1",
      "workflow_sid" : "WW0000000000000000000000000000002",
      "workflow_name" : "My workflow",
      "task_queue_sid" : "WQ0000000000000000000000000000002",
      "task_queue_name" : "My task queue",
      "worker_channel_available" : 1,
      "worker_channel_capacity" : 1,
      "worker_channel_available_capacity" : 100.0,
      "worker_channel_previous_capacity" : 6.0,
      "worker_channel_task_count" : 0,
      "workflow_filter_name" : "My workflow filter name",
      "workflow_filter_expression" : "1==1",
      "workflow_filter_target_expression" : "worker.channel.chat.assigned_tasks <= 1",
      "workflow_filter_target_name" : "My workflow filter target name",
      "previous_task_queue_sid" : "WQ0000000000000000000000000000001",
      "previous_task_queue_name" : "My previous task queue name",
      "previous_task_priority" : 3,
      "target_changed_reason" : "skipped",
      "task_re_evaluated_reason" : "reservation_timeout",
      "task_queue_target_expression" : "allowed_channels HAS \"chat\"",
      "task_transfer_sid" : "TT0000000000000000000000000000001",
      "transfer_type" : "QUEUE",
      "transfer_initiating_worker_sid" : "WK0000000000000000000000000000001",
      "transfer_initiating_reservation_sid" : "WR0000000000000000000000000000001",
      "transfer_to" : "WQ0000000000000000000000000000001",
      "transfer_mode" : "COLD",
      "transfer_started" : "2025-01-01T00:00:00.000Z",
      "transfer_failed_reason" : "",
      "transfer_status" : "complete",
      "event_description" : "Reservation WR0000000000000000000000000000001 created",
      "resource_type" : "reservation",
      "resource_sid" : "WR0000000000000000000000000000001",
      "task_routing_target" : "WK0000000000000000000000000000001",
      "reservation_reason_code" : 45302,
      "task_age_in_queue" : 31086,
      "task_queue_entered_date" : "2025-01-01T00:00:00.000Z",
      "task_version" : 4,
      "reservation_version" : 0,
      "task_virtual_start_time" : "2025-01-01T00:00:00.000Z",
      "worker_channel_consumed_capacity" : 2,
      "worker_version" : 4019,
      "task_channel_name" : "My task channel name",
      "task_channel_optimized_routing" : false,
      "known_worker_sid" : "WK0000000000000000000000000000001",
      "activity_sid" : "WA0000000000000000000000000000001",
      "activity_name" : "My activity name",
      "activity_available" : true,
      "operating_unit_sid" : "OU0000000000000000000000000000001",
      "operating_unit_friendly_name" : "My operating unit",
      "operating_unit_date_created" : "2025-01-01T00:00:00.000Z",
      "operating_unit_date_updated" : "2025-01-01T00:00:00.000Z",
      "task_add_on_attributes" : "{}",
      "task_timeout" : 86400,
      "worker_available" : true,
      "reservation_timeout" : 25,
      "reservation_status" : "accepted"
    }
  }
}
```

**Versions**

* [v4 (latest)](https://events-schemas.twilio.com/TaskRouter.WDSEvent/4)
* [v3](https://events-schemas.twilio.com/TaskRouter.WDSEvent/3)
* [v2](https://events-schemas.twilio.com/TaskRouter.WDSEvent/2)
* [v1](https://events-schemas.twilio.com/TaskRouter.WDSEvent/1)

## Transfer Initiated

`com.twilio.taskrouter.task.transfer-initiated`

> \[!NOTE]
>
> The `worker_time_in_previous_activity` field began reporting in seconds starting May 21, 2021. Version 2 of the TaskRouter schema added a new `worker_time_in_previous_activity_ms` field that was not exposed through Event Streams previously. If you want to measure this field in milliseconds, you must use schema version 2.

Task Transfer Initiated events are compatible with Webhook and Kinesis sinks. To learn more, you can get started with the [Webhook](/docs/events/webhook-quickstart) or [Kinesis](/docs/events/eventstreams-quickstart) quickstarts and refer to the [product documentation](/docs/taskrouter/api/event).

**Examples**

```json
{
  "specversion" : "1.0",
  "type" : "com.twilio.taskrouter.task.transfer-initiated",
  "source" : "AB00000000000000000000000001",
  "id" : "NO00000000000000000000000001",
  "dataschema" : "https://events-schemas.twilio.com/TaskRouter.WDSEvent/4",
  "datacontenttype" : "2025-10-08T07:17:02.363Z",
  "data" : {
    "sid" : "EV0000000000000000000000000000001",
    "name" : "ReservationCreated",
    "account_sid" : "AC0000000000000000000000000000001",
    "account_friendly_name" : "An account name",
    "parent_account_sid" : "AC0000000000000000000000000000001",
    "parent_friendly_name" : "Another account name",
    "timestamp" : "2025-01-01T00:00:00.000Z",
    "level" : "INFO",
    "group" : "reservation",
    "product_name" : "TaskRouter",
    "publisher" : "Flex Task Assignment",
    "publisher_metadata" : "{}",
    "payload_type" : "application/json",
    "payload" : {
      "sid" : "EV0000000000000000000000000000001",
      "eventtype" : "reservation.created",
      "account_sid" : "AC0000000000000000000000000000001",
      "timestamp" : "2025-01-01T00:00:00.000Z",
      "workspace_sid" : "WS0000000000000000000000000000001",
      "workspace_name" : "Flex Task Assignment",
      "task_sid" : "WT0000000000000000000000000000001",
      "task_attributes" : "{}",
      "task_age" : 31088,
      "task_date_created" : "2025-01-01T00:00:00.000Z",
      "task_priority" : 1,
      "task_assignment_status" : "reserved",
      "task_completed_reason" : "All reservations were completed",
      "task_canceled_reason" : "hangup",
      "reason" : "hangup",
      "task_channel_sid" : "TC0000000000000000000000000000001",
      "task_channel_unique_name" : "chat",
      "reservation_sid" : "WR0000000000000000000000000000001",
      "worker_sid" : "WK0000000000000000000000000000001",
      "worker_name" : "Flex Task Assignment",
      "worker_attributes" : "{}",
      "worker_activity_sid" : "WA0000000000000000000000000000001",
      "worker_activity_name" : "handling 2",
      "worker_time_in_previous_activity" : 322,
      "worker_time_in_previous_activity_ms" : 322859,
      "worker_previous_activity_sid" : "WA0000000000000000000000000000002",
      "worker_previous_activity_name" : "handling 1",
      "workflow_sid" : "WW0000000000000000000000000000002",
      "workflow_name" : "My workflow",
      "task_queue_sid" : "WQ0000000000000000000000000000002",
      "task_queue_name" : "My task queue",
      "worker_channel_available" : 1,
      "worker_channel_capacity" : 1,
      "worker_channel_available_capacity" : 100.0,
      "worker_channel_previous_capacity" : 6.0,
      "worker_channel_task_count" : 0,
      "workflow_filter_name" : "My workflow filter name",
      "workflow_filter_expression" : "1==1",
      "workflow_filter_target_expression" : "worker.channel.chat.assigned_tasks <= 1",
      "workflow_filter_target_name" : "My workflow filter target name",
      "previous_task_queue_sid" : "WQ0000000000000000000000000000001",
      "previous_task_queue_name" : "My previous task queue name",
      "previous_task_priority" : 3,
      "target_changed_reason" : "skipped",
      "task_re_evaluated_reason" : "reservation_timeout",
      "task_queue_target_expression" : "allowed_channels HAS \"chat\"",
      "task_transfer_sid" : "TT0000000000000000000000000000001",
      "transfer_type" : "QUEUE",
      "transfer_initiating_worker_sid" : "WK0000000000000000000000000000001",
      "transfer_initiating_reservation_sid" : "WR0000000000000000000000000000001",
      "transfer_to" : "WQ0000000000000000000000000000001",
      "transfer_mode" : "COLD",
      "transfer_started" : "2025-01-01T00:00:00.000Z",
      "transfer_failed_reason" : "",
      "transfer_status" : "complete",
      "event_description" : "Reservation WR0000000000000000000000000000001 created",
      "resource_type" : "reservation",
      "resource_sid" : "WR0000000000000000000000000000001",
      "task_routing_target" : "WK0000000000000000000000000000001",
      "reservation_reason_code" : 45302,
      "task_age_in_queue" : 31086,
      "task_queue_entered_date" : "2025-01-01T00:00:00.000Z",
      "task_version" : 4,
      "reservation_version" : 0,
      "task_virtual_start_time" : "2025-01-01T00:00:00.000Z",
      "worker_channel_consumed_capacity" : 2,
      "worker_version" : 4019,
      "task_channel_name" : "My task channel name",
      "task_channel_optimized_routing" : false,
      "known_worker_sid" : "WK0000000000000000000000000000001",
      "activity_sid" : "WA0000000000000000000000000000001",
      "activity_name" : "My activity name",
      "activity_available" : true,
      "operating_unit_sid" : "OU0000000000000000000000000000001",
      "operating_unit_friendly_name" : "My operating unit",
      "operating_unit_date_created" : "2025-01-01T00:00:00.000Z",
      "operating_unit_date_updated" : "2025-01-01T00:00:00.000Z",
      "task_add_on_attributes" : "{}",
      "task_timeout" : 86400,
      "worker_available" : true,
      "reservation_timeout" : 25,
      "reservation_status" : "accepted"
    }
  }
}
```

**Versions**

* [v4 (latest)](https://events-schemas.twilio.com/TaskRouter.WDSEvent/4)
* [v3](https://events-schemas.twilio.com/TaskRouter.WDSEvent/3)
* [v2](https://events-schemas.twilio.com/TaskRouter.WDSEvent/2)
* [v1](https://events-schemas.twilio.com/TaskRouter.WDSEvent/1)

## Updated

`com.twilio.taskrouter.task.updated`

> \[!NOTE]
>
> The `worker_time_in_previous_activity` field began reporting in seconds starting May 21, 2021. Version 2 of the TaskRouter schema added a new `worker_time_in_previous_activity_ms` field that was not exposed through Event Streams previously. If you want to measure this field in milliseconds, you must use schema version 2.

Task Updated events are compatible with Webhook and Kinesis sinks. To learn more, you can get started with the [Webhook](/docs/events/webhook-quickstart) or [Kinesis](/docs/events/eventstreams-quickstart) quickstarts and refer to the [product documentation](/docs/taskrouter/api/event).

**Examples**

```json
{
  "specversion" : "1.0",
  "type" : "com.twilio.taskrouter.task.updated",
  "source" : "AB00000000000000000000000001",
  "id" : "NO00000000000000000000000001",
  "dataschema" : "https://events-schemas.twilio.com/TaskRouter.WDSEvent/4",
  "datacontenttype" : "2025-10-08T07:17:02.363Z",
  "data" : {
    "sid" : "EV0000000000000000000000000000001",
    "name" : "ReservationCreated",
    "account_sid" : "AC0000000000000000000000000000001",
    "account_friendly_name" : "An account name",
    "parent_account_sid" : "AC0000000000000000000000000000001",
    "parent_friendly_name" : "Another account name",
    "timestamp" : "2025-01-01T00:00:00.000Z",
    "level" : "INFO",
    "group" : "reservation",
    "product_name" : "TaskRouter",
    "publisher" : "Flex Task Assignment",
    "publisher_metadata" : "{}",
    "payload_type" : "application/json",
    "payload" : {
      "sid" : "EV0000000000000000000000000000001",
      "eventtype" : "reservation.created",
      "account_sid" : "AC0000000000000000000000000000001",
      "timestamp" : "2025-01-01T00:00:00.000Z",
      "workspace_sid" : "WS0000000000000000000000000000001",
      "workspace_name" : "Flex Task Assignment",
      "task_sid" : "WT0000000000000000000000000000001",
      "task_attributes" : "{}",
      "task_age" : 31088,
      "task_date_created" : "2025-01-01T00:00:00.000Z",
      "task_priority" : 1,
      "task_assignment_status" : "reserved",
      "task_completed_reason" : "All reservations were completed",
      "task_canceled_reason" : "hangup",
      "reason" : "hangup",
      "task_channel_sid" : "TC0000000000000000000000000000001",
      "task_channel_unique_name" : "chat",
      "reservation_sid" : "WR0000000000000000000000000000001",
      "worker_sid" : "WK0000000000000000000000000000001",
      "worker_name" : "Flex Task Assignment",
      "worker_attributes" : "{}",
      "worker_activity_sid" : "WA0000000000000000000000000000001",
      "worker_activity_name" : "handling 2",
      "worker_time_in_previous_activity" : 322,
      "worker_time_in_previous_activity_ms" : 322859,
      "worker_previous_activity_sid" : "WA0000000000000000000000000000002",
      "worker_previous_activity_name" : "handling 1",
      "workflow_sid" : "WW0000000000000000000000000000002",
      "workflow_name" : "My workflow",
      "task_queue_sid" : "WQ0000000000000000000000000000002",
      "task_queue_name" : "My task queue",
      "worker_channel_available" : 1,
      "worker_channel_capacity" : 1,
      "worker_channel_available_capacity" : 100.0,
      "worker_channel_previous_capacity" : 6.0,
      "worker_channel_task_count" : 0,
      "workflow_filter_name" : "My workflow filter name",
      "workflow_filter_expression" : "1==1",
      "workflow_filter_target_expression" : "worker.channel.chat.assigned_tasks <= 1",
      "workflow_filter_target_name" : "My workflow filter target name",
      "previous_task_queue_sid" : "WQ0000000000000000000000000000001",
      "previous_task_queue_name" : "My previous task queue name",
      "previous_task_priority" : 3,
      "target_changed_reason" : "skipped",
      "task_re_evaluated_reason" : "reservation_timeout",
      "task_queue_target_expression" : "allowed_channels HAS \"chat\"",
      "task_transfer_sid" : "TT0000000000000000000000000000001",
      "transfer_type" : "QUEUE",
      "transfer_initiating_worker_sid" : "WK0000000000000000000000000000001",
      "transfer_initiating_reservation_sid" : "WR0000000000000000000000000000001",
      "transfer_to" : "WQ0000000000000000000000000000001",
      "transfer_mode" : "COLD",
      "transfer_started" : "2025-01-01T00:00:00.000Z",
      "transfer_failed_reason" : "",
      "transfer_status" : "complete",
      "event_description" : "Reservation WR0000000000000000000000000000001 created",
      "resource_type" : "reservation",
      "resource_sid" : "WR0000000000000000000000000000001",
      "task_routing_target" : "WK0000000000000000000000000000001",
      "reservation_reason_code" : 45302,
      "task_age_in_queue" : 31086,
      "task_queue_entered_date" : "2025-01-01T00:00:00.000Z",
      "task_version" : 4,
      "reservation_version" : 0,
      "task_virtual_start_time" : "2025-01-01T00:00:00.000Z",
      "worker_channel_consumed_capacity" : 2,
      "worker_version" : 4019,
      "task_channel_name" : "My task channel name",
      "task_channel_optimized_routing" : false,
      "known_worker_sid" : "WK0000000000000000000000000000001",
      "activity_sid" : "WA0000000000000000000000000000001",
      "activity_name" : "My activity name",
      "activity_available" : true,
      "operating_unit_sid" : "OU0000000000000000000000000000001",
      "operating_unit_friendly_name" : "My operating unit",
      "operating_unit_date_created" : "2025-01-01T00:00:00.000Z",
      "operating_unit_date_updated" : "2025-01-01T00:00:00.000Z",
      "task_add_on_attributes" : "{}",
      "task_timeout" : 86400,
      "worker_available" : true,
      "reservation_timeout" : 25,
      "reservation_status" : "accepted"
    }
  }
}
```

**Versions**

* [v4 (latest)](https://events-schemas.twilio.com/TaskRouter.WDSEvent/4)
* [v3](https://events-schemas.twilio.com/TaskRouter.WDSEvent/3)
* [v2](https://events-schemas.twilio.com/TaskRouter.WDSEvent/2)
* [v1](https://events-schemas.twilio.com/TaskRouter.WDSEvent/1)

## Wrapup

`com.twilio.taskrouter.task.wrapup`

> \[!NOTE]
>
> The `worker_time_in_previous_activity` field began reporting in seconds starting May 21, 2021. Version 2 of the TaskRouter schema added a new `worker_time_in_previous_activity_ms` field that was not exposed through Event Streams previously. If you want to measure this field in milliseconds, you must use schema version 2.

Task Wrapup events are compatible with Webhook and Kinesis sinks. To learn more, you can get started with the [Webhook](/docs/events/webhook-quickstart) or [Kinesis](/docs/events/eventstreams-quickstart) quickstarts and refer to the [product documentation](/docs/taskrouter/api/event).

**Examples**

```json
{
  "specversion" : "1.0",
  "type" : "com.twilio.taskrouter.task.wrapup",
  "source" : "AB00000000000000000000000001",
  "id" : "NO00000000000000000000000001",
  "dataschema" : "https://events-schemas.twilio.com/TaskRouter.WDSEvent/4",
  "datacontenttype" : "2025-10-08T07:17:02.363Z",
  "data" : {
    "sid" : "EV0000000000000000000000000000001",
    "name" : "ReservationCreated",
    "account_sid" : "AC0000000000000000000000000000001",
    "account_friendly_name" : "An account name",
    "parent_account_sid" : "AC0000000000000000000000000000001",
    "parent_friendly_name" : "Another account name",
    "timestamp" : "2025-01-01T00:00:00.000Z",
    "level" : "INFO",
    "group" : "reservation",
    "product_name" : "TaskRouter",
    "publisher" : "Flex Task Assignment",
    "publisher_metadata" : "{}",
    "payload_type" : "application/json",
    "payload" : {
      "sid" : "EV0000000000000000000000000000001",
      "eventtype" : "reservation.created",
      "account_sid" : "AC0000000000000000000000000000001",
      "timestamp" : "2025-01-01T00:00:00.000Z",
      "workspace_sid" : "WS0000000000000000000000000000001",
      "workspace_name" : "Flex Task Assignment",
      "task_sid" : "WT0000000000000000000000000000001",
      "task_attributes" : "{}",
      "task_age" : 31088,
      "task_date_created" : "2025-01-01T00:00:00.000Z",
      "task_priority" : 1,
      "task_assignment_status" : "reserved",
      "task_completed_reason" : "All reservations were completed",
      "task_canceled_reason" : "hangup",
      "reason" : "hangup",
      "task_channel_sid" : "TC0000000000000000000000000000001",
      "task_channel_unique_name" : "chat",
      "reservation_sid" : "WR0000000000000000000000000000001",
      "worker_sid" : "WK0000000000000000000000000000001",
      "worker_name" : "Flex Task Assignment",
      "worker_attributes" : "{}",
      "worker_activity_sid" : "WA0000000000000000000000000000001",
      "worker_activity_name" : "handling 2",
      "worker_time_in_previous_activity" : 322,
      "worker_time_in_previous_activity_ms" : 322859,
      "worker_previous_activity_sid" : "WA0000000000000000000000000000002",
      "worker_previous_activity_name" : "handling 1",
      "workflow_sid" : "WW0000000000000000000000000000002",
      "workflow_name" : "My workflow",
      "task_queue_sid" : "WQ0000000000000000000000000000002",
      "task_queue_name" : "My task queue",
      "worker_channel_available" : 1,
      "worker_channel_capacity" : 1,
      "worker_channel_available_capacity" : 100.0,
      "worker_channel_previous_capacity" : 6.0,
      "worker_channel_task_count" : 0,
      "workflow_filter_name" : "My workflow filter name",
      "workflow_filter_expression" : "1==1",
      "workflow_filter_target_expression" : "worker.channel.chat.assigned_tasks <= 1",
      "workflow_filter_target_name" : "My workflow filter target name",
      "previous_task_queue_sid" : "WQ0000000000000000000000000000001",
      "previous_task_queue_name" : "My previous task queue name",
      "previous_task_priority" : 3,
      "target_changed_reason" : "skipped",
      "task_re_evaluated_reason" : "reservation_timeout",
      "task_queue_target_expression" : "allowed_channels HAS \"chat\"",
      "task_transfer_sid" : "TT0000000000000000000000000000001",
      "transfer_type" : "QUEUE",
      "transfer_initiating_worker_sid" : "WK0000000000000000000000000000001",
      "transfer_initiating_reservation_sid" : "WR0000000000000000000000000000001",
      "transfer_to" : "WQ0000000000000000000000000000001",
      "transfer_mode" : "COLD",
      "transfer_started" : "2025-01-01T00:00:00.000Z",
      "transfer_failed_reason" : "",
      "transfer_status" : "complete",
      "event_description" : "Reservation WR0000000000000000000000000000001 created",
      "resource_type" : "reservation",
      "resource_sid" : "WR0000000000000000000000000000001",
      "task_routing_target" : "WK0000000000000000000000000000001",
      "reservation_reason_code" : 45302,
      "task_age_in_queue" : 31086,
      "task_queue_entered_date" : "2025-01-01T00:00:00.000Z",
      "task_version" : 4,
      "reservation_version" : 0,
      "task_virtual_start_time" : "2025-01-01T00:00:00.000Z",
      "worker_channel_consumed_capacity" : 2,
      "worker_version" : 4019,
      "task_channel_name" : "My task channel name",
      "task_channel_optimized_routing" : false,
      "known_worker_sid" : "WK0000000000000000000000000000001",
      "activity_sid" : "WA0000000000000000000000000000001",
      "activity_name" : "My activity name",
      "activity_available" : true,
      "operating_unit_sid" : "OU0000000000000000000000000000001",
      "operating_unit_friendly_name" : "My operating unit",
      "operating_unit_date_created" : "2025-01-01T00:00:00.000Z",
      "operating_unit_date_updated" : "2025-01-01T00:00:00.000Z",
      "task_add_on_attributes" : "{}",
      "task_timeout" : 86400,
      "worker_available" : true,
      "reservation_timeout" : 25,
      "reservation_status" : "accepted"
    }
  }
}
```

**Versions**

* [v4 (latest)](https://events-schemas.twilio.com/TaskRouter.WDSEvent/4)
* [v3](https://events-schemas.twilio.com/TaskRouter.WDSEvent/3)
* [v2](https://events-schemas.twilio.com/TaskRouter.WDSEvent/2)
* [v1](https://events-schemas.twilio.com/TaskRouter.WDSEvent/1)
