Patient file: demographic information, anamnesis/allergies, medical history and documents. Every record is isolated to your clinic; deletion is a reversible archiving (no hard-delete).
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/patients
Retrieves the patient list with pagination
All authorized roles
/v1/patients
Creates a new patient record
admin · secretary · physician
/v1/patients/{id}
Retrieves the details of a single patient
All authorized roles
/v1/patients/{id}
Updates patient information
admin · secretary · physician
/v1/patients/{id}
Archives the patient (soft-delete)
admin
/v1/patients/{id}/medical
Lists anamnesis, allergies and medical history
All authorized roles
/v1/patients/{id}/medical
Adds a medical/anamnesis record
admin · physician
/v1/patients/{id}/documents
Lists patient documents
All authorized roles
/v1/patients/{id}/documents
Adds a document to the patient
admin · secretary
Create a new patient
curl -X POST https://api.udentiva.com/v1/patients \
-H "Authorization: Bearer udk_live_xxx" \
-H "Idempotency-Key: 9f1c2e7a-..." \
-H "Content-Type: application/json" \
-d '{"first_name":"Ayse","last_name":"Yilmaz","phone":"+90555..."}'
HTTP/1.1 201 Created
{
"id": "c0ffee00-1234-...",
"first_name": "Ayse",
"last_name": "Yilmaz",
"phone": "+90555...",
"created_at": "2026-06-24T09:00: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. Cookie-Richtlinie