---
title: "Create a new shift"
method: POST
path: "/Shifts"
tags: ["Shifts"]
---

# Create a new shift

`POST /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/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- CreateShiftDto
  - `userId` string, nullable
  - `locationId` string, nullable
  - `contactInfo` string, nullable
  - `shiftDate` string
  - `startTime` string, nullable
  - `endTime` string, nullable
  - `income` string, nullable
  - `cancelBy` string, nullable
  - `notes` string, nullable
  - `status` string, nullable

## Response `200`

OK

- 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

---

[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)
