Create lab orders and track their status end to end; manage partner laboratories. Spot delays early.
Endpoints for this resource. Every endpoint is scoped to the clinic data the API key is bound to; write endpoints support the Idempotency-Key header.
/v1/lab-orders
Lists lab orders
Authorized user
/v1/lab-orders
Creates a lab order
Authorized user
/v1/lab-orders/{id}
Retrieves order details
Authorized user
/v1/lab-orders/{id}
Updates the order
Authorized user
/v1/lab-orders/{id}/status
Changes the order status
Authorized user
/v1/labs
Lists partner laboratories
Authorized user
/v1/labs
Adds a laboratory
Authorized user
Create a lab order
curl -X POST https://api.udentiva.com/v1/lab-orders \
-H "Authorization: Bearer udk_live_xxx" \
-H "Content-Type: application/json" \
-d '{"patient_id":"c0ffee00-...","lab_id":"lab-3","type":"crown"}'
HTTP/1.1 201 Created
{
"id": "lo-204",
"status": "created",
"created_at": "2026-06-24T09:25:00Z"
}
Security isn't a feature, it's the architecture itself. The guarantees that apply to this resource:
Errors are returned in a consistent envelope; the code is for the machine, the message for the user. Internal error/stack is never leaked.
{
"error": {
"code": "validation_failed",
"message": "Invalid field: email"
}
}
We use cookies necessary for core functionality; analytics and marketing cookies are enabled only with your consent. 쿠키 정책