---
title: "POST /api/vital-types"
method: POST
path: "/api/vital-types"
tags: ["VitalTypes"]
---

# POST /api/vital-types

`POST /api/vital-types`

## Request

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

## Request body

- CreateVitalTypeRequest
  - `code` string, required
  - `label` string, required
  - `unit` string, nullable
  - `color` string, nullable
  - `dataType` string, required
  - `minValue` union
    - number, double
    - string, double
  - `maxValue` union
    - number, double
    - string, double
  - `displayOrder` union
    - integer
    - string, int32
  - `isActive` boolean, nullable

## Response `201`

Created

- VitalTypeDetailDto
  - `id` string, required
  - `code` string, required
  - `label` string, required
  - `unit` string, nullable
  - `color` string, nullable
  - `dataType` string, required
  - `minValue` union
    - number, double
    - string, double
  - `maxValue` union
    - number, double
    - string, double
  - `displayOrder` union
    - integer
    - string, int32
  - `isActive` boolean
  - `isSystem` boolean: Seeded product type: not deletable; Code/DataType locked.
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `400`: Bad Request
- `409`: Conflict

## Changes

- **2026-08-07** `a905bde4e796`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/changes/api/vital-types/post.md)

---

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