# Create task channel **POST /v1/Workspaces/{WorkspaceSid}/TaskChannels** Types of tasks ## Servers - https://taskrouter.twilio.com: https://taskrouter.twilio.com () ## Authentication methods - Account sid auth token ## Parameters ### Path parameters - **WorkspaceSid** (string) The SID of the Workspace that the new Task Channel belongs to. ### Body: application/x-www-form-urlencoded (object) - **FriendlyName** (string) A descriptive string that you create to describe the Task Channel. It can be up to 64 characters long. - **UniqueName** (string) An application-defined string that uniquely identifies the Task Channel, such as `voice` or `sms`. - **ChannelOptimizedRouting** (boolean) Whether the Task Channel should prioritize Workers that have been idle. If `true`, Workers that have been idle the longest are prioritized. ## Responses ### 201 Created #### Headers - **X-Rate-Limit-Limit** (string) - **X-Rate-Limit-Remaining** (string) - **X-Rate-Limit-Config** (string) - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/json (object) - **account_sid** (string | null) The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Task Channel resource. - **date_created** (string(date-time) | null) The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. - **date_updated** (string(date-time) | null) The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. - **friendly_name** (string | null) The string that you assigned to describe the resource. - **sid** (string | null) The unique string that we created to identify the Task Channel resource. - **unique_name** (string | null) An application-defined string that uniquely identifies the Task Channel, such as `voice` or `sms`. - **workspace_sid** (string | null) The SID of the Workspace that contains the Task Channel. - **channel_optimized_routing** (boolean | null) Whether the Task Channel will prioritize Workers that have been idle. When `true`, Workers that have been idle the longest are prioritized. - **url** (string(uri) | null) The absolute URL of the Task Channel resource. - **links** (object(uri-map) | null) The URLs of related resources. [Powered by Bump.sh](https://bump.sh)