# Fetch task queue **GET /v1/Workspaces/{WorkspaceSid}/TaskQueues/{Sid}** ## 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 with the TaskQueue to fetch. - **Sid** (string) The SID of the TaskQueue resource to fetch. ## Responses ### 200 OK #### 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 TaskQueue resource. - **assignment_activity_sid** (string | null) The SID of the Activity to assign Workers when a task is assigned for them. - **assignment_activity_name** (string | null) The name of the Activity to assign Workers when a task is assigned for them. - **date_created** (string(date-time) | null) The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. - **date_updated** (string(date-time) | null) The date and time in GMT when the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. - **friendly_name** (string | null) The string that you assigned to describe the resource. - **max_reserved_workers** (integer) The maximum number of Workers to reserve for the assignment of a task in the queue. Can be an integer between 1 and 50, inclusive and defaults to 1. - **reservation_activity_sid** (string | null) The SID of the Activity to assign Workers once a task is reserved for them. - **reservation_activity_name** (string | null) The name of the Activity to assign Workers once a task is reserved for them. - **sid** (string | null) The unique string that we created to identify the TaskQueue resource. - **target_workers** (string | null) A string describing the Worker selection criteria for any Tasks that enter the TaskQueue. For example `'"language" == "spanish"'` If no TargetWorkers parameter is provided, Tasks will wait in the TaskQueue until they are either deleted or moved to another TaskQueue. Additional examples on how to describing Worker selection criteria below. Defaults to 1==1. - **task_order** (string) How Tasks will be assigned to Workers. Set this parameter to `LIFO` to assign most recently created Task first or `FIFO` to assign the oldest Task. Default is FIFO. [Click here](https://www.twilio.com/docs/taskrouter/queue-ordering-last-first-out-lifo) to learn more. - **url** (string(uri) | null) The absolute URL of the TaskQueue resource. - **workspace_sid** (string | null) The SID of the Workspace that contains the TaskQueue. - **links** (object(uri-map) | null) The URLs of related resources. [Powered by Bump.sh](https://bump.sh)