---
title: "Get a paginated and filtered list of shifts"
method: GET
path: "/Shifts"
tags: ["Shifts"]
---

# Get a paginated and filtered list of shifts

`GET /Shifts`

## Query parameters

- `UserId` string
- `LocationId` string
- `Status` string
- `ShiftDateFrom` string
- `ShiftDateTo` string
- `CancelByBefore` string
- `CancelByAfter` string
- `HasIncome` boolean
- `Query` string
- `SortBy` string
- `SortOrder` string
- `Page` union
  - integer
  - string, int32
- `Limit` union
  - integer
  - string, int32

## Response `200`

Paginated list of shifts

- ShiftListResponseDto
  - `shifts` ShiftResponseDto[]
    - `id` string
    - `userId` string
    - `user` UserSummaryDto
      - `id` string
      - `email` string
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `displayName` string, nullable
      - `type` string
      - `roleId` string, nullable
      - `roleName` string, nullable
    - `locationId` string, nullable
    - `locationName` string, nullable
    - `contactInfo` string, nullable
    - `shiftDate` string
    - `startTime` string, nullable
    - `endTime` string, nullable
    - `income` string, nullable
    - `cancelBy` string, nullable
    - `notes` string, nullable
    - `status` integer
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
  - `totalCount` union
    - integer
    - string, int32
  - `upcomingCount` union
    - integer
    - string, int32
  - `completedCount` union
    - integer
    - string, int32
  - `cancelledCount` union
    - integer
    - string, int32

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/revisions/a905bde4e796/schema)
