Path parameters
-
The SID of the Workspace with the Task to fetch.
-
The SID of the Task resource to fetch.
GET /v1/Workspaces/{WorkspaceSid}/Tasks/{Sid}
curl \
-X GET https://taskrouter.twilio.com/v1/Workspaces/{WorkspaceSid}/Tasks/{Sid} \
--user "username:password"
Response examples (200)
{
"account_sid": "string",
"addons": "string",
"age": 42,
"assignment_status": "pending",
"attributes": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"links": {},
"priority": 42,
"reason": "string",
"sid": "string",
"task_channel_sid": "string",
"task_channel_unique_name": "string",
"task_queue_entered_date": "2023-05-04T09:42:00+00:00",
"task_queue_friendly_name": "string",
"task_queue_sid": "string",
"timeout": 42,
"url": "https://example.com",
"workflow_friendly_name": "string",
"workflow_sid": "string",
"workspace_sid": "string"
}
Response examples (200)
{
"account_sid": "string",
"addons": "string",
"age": 42,
"assignment_status": "pending",
"attributes": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"links": {},
"priority": 42,
"reason": "string",
"sid": "string",
"task_channel_sid": "string",
"task_channel_unique_name": "string",
"task_queue_entered_date": "2024-05-04T09:42:00+00:00",
"task_queue_friendly_name": "string",
"task_queue_sid": "string",
"timeout": 42,
"url": "https://example.com",
"workflow_friendly_name": "string",
"workflow_sid": "string",
"workspace_sid": "string"
}