TaskrouterV1TaskReservation
get/v1/Workspaces/{WorkspaceSid}/Tasks/{TaskSid}/Reservations
Path parameters
WorkspaceSidstring required
The SID of the Workspace with the TaskReservation resources to read.
TaskSidstring required
The SID of the reserved Task resource with the TaskReservation resources to read.
Query parameters
ReservationStatus'pending' | 'accepted' | 'rejected' | 'timeout' | 'canceled' | 'rescinded' | 'wrapping' | 'completed'
The current status of the reservation. Can be: pending, accepted, rejected, or timeout.
Returns the list of reservations for a task with a specified ReservationStatus. Can be: pending, accepted, rejected, or timeout.
WorkerSidstring
The SID of the reserved Worker resource to read.
PageSizeinteger
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Pageinteger
The page index. This value is simply for client state.
PageTokenstring
The page token. This is provided by the API.
Response
OK