---
title: "Create a new milestone for a case"
method: POST
path: "/CaseMilestones"
tags: ["CaseMilestones"]
---

# Create a new milestone for a case

`POST /CaseMilestones`

## Request

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

## Query parameters

- `caseId` string

## Request body

- CreateCaseMilestoneRequest: Request to create a new case milestone
  - `name` string, required
  - `type` integer, required
  - `orderIndex` union, required
    - integer
    - string, int32
  - `notes` string, nullable

## Response `200`

OK

- CaseMilestoneResponseDto: Response DTO for case milestone
  - `id` string
  - `caseId` string
  - `name` string
  - `status` integer
  - `type` integer
  - `completedAt` string, date-time, nullable
  - `orderIndex` union
    - integer
    - string, int32
  - `notes` string, nullable
  - `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)
