Fetch task reservation
Tasks reserved for workers
Path parameters
-
The SID of the Workspace with the TaskReservation resource to fetch.
-
The SID of the reserved Task resource with the TaskReservation resource to fetch.
-
The SID of the TaskReservation resource to fetch.
GET /v1/Workspaces/{WorkspaceSid}/Tasks/{TaskSid}/Reservations/{Sid}
curl \
-X GET https://taskrouter.twilio.com/v1/Workspaces/{WorkspaceSid}/Tasks/{TaskSid}/Reservations/{Sid} \
--user "username:password"
Response examples (200)
{
"account_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"links": {},
"reservation_status": "pending",
"sid": "string",
"task_sid": "string",
"url": "https://example.com",
"worker_name": "string",
"worker_sid": "string",
"workspace_sid": "string"
}
Response examples (200)
{
"account_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"links": {},
"reservation_status": "pending",
"sid": "string",
"task_sid": "string",
"url": "https://example.com",
"worker_name": "string",
"worker_sid": "string",
"workspace_sid": "string"
}