TaskrouterV1TaskChannel
post/v1/Workspaces/{WorkspaceSid}/TaskChannels

Request

  • Base URL
    https://taskrouter.twilio.com
  • URL
    https://taskrouter.twilio.com/v1/Workspaces/{WorkspaceSid}/TaskChannels
  • Auth
    HTTP basic

Path parameters

WorkspaceSidstring required

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

Request body application/x-www-form-urlencoded

FriendlyNamestring required

A descriptive string that you create to describe the Task Channel. It can be up to 64 characters long.

UniqueNamestring required

An application-defined string that uniquely identifies the Task Channel, such as voice or sms.

ChannelOptimizedRoutingboolean

Whether the Task Channel should prioritize Workers that have been idle. If true, Workers that have been idle the longest are prioritized.

Response

Created

account_sidstring nullable

The SID of the Account that created the Task Channel resource.

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.

friendly_namestring nullable

The string that you assigned to describe the resource.

sidstring nullable

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

unique_namestring nullable

An application-defined string that uniquely identifies the Task Channel, such as voice or sms.

workspace_sidstring nullable

The SID of the Workspace that contains the Task Channel.

channel_optimized_routingboolean nullable

Whether the Task Channel will prioritize Workers that have been idle. When true, Workers that have been idle the longest are prioritized.

urlstring uri nullable

The absolute URL of the Task Channel resource.

linksobject nullable

The URLs of related resources.

Changes