---
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`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/Shifts`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/Shifts/get.ts> (a function with typed inputs; its response is checked against the schema)

## 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.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
