---
title: "POST /api/sublabs"
method: POST
path: "/api/sublabs"
tags: ["Clinical"]
---

# POST /api/sublabs

`POST /api/sublabs`

Create sub-vendors

- When you get orders, submit them via `/api/lab_orders`, such that doctors can see them in drchrono.

- When results come in, submit the result document PDF via `/api/lab_documents` and submit the results data via `/api/lab_results`

- Update `/api/lab_orders` status

## Response `201`

Created

- LabVendorLocation
  - `vendor_name` string
  - `facility_code` string, required — Used for identifying the lab in orders and results
  - `id` integer
  - `name` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Permission Denied
- `404` — Not Found
- `405` — Method Not Allowed
- `500` — Internal Server Error

---

[API](https://skmtc.net/drchrono/apis/untitled-api.md) · [All operations](https://skmtc.net/drchrono/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/drchrono/untitled-api/versions/e595797fe800/schema)
