Fetch worker reservation
Current and past reservations for a worker
Path parameters
-
The SID of the Workspace with the WorkerReservation resource to fetch.
-
The SID of the reserved Worker resource with the WorkerReservation resource to fetch.
-
The SID of the WorkerReservation resource to fetch.
GET /v1/Workspaces/{WorkspaceSid}/Workers/{WorkerSid}/Reservations/{Sid}
curl \
-X GET https://taskrouter.twilio.com/v1/Workspaces/{WorkspaceSid}/Workers/{WorkerSid}/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"
}