curl -X POST "https://api.nevatal.com/api/v1/patients" \
-H "Authorization: Bearer nvtl_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"firstName": "María",
"lastName": "García",
"phone": "+573001234567",
"email": "maria@example.com",
"documentType": "CC",
"documentNumber": "1234567890",
"dateOfBirth": "1990-05-15",
"gender": "female"
}'
{
"id": "pat_abc123",
"firstName": "María",
"lastName": "García",
"email": "maria@example.com",
"phone": "+573001234567",
"documentType": "CC",
"documentNumber": "1234567890",
"dateOfBirth": "1990-05-15",
"gender": "female",
"status": "active",
"createdAt": "2025-03-15T10:30:00Z"
}
{
"statusCode": 400,
"error": "Bad Request",
"message": "Document number already exists in this clinic"
}
Patients
Create Patient
Register a new patient in your clinic
POST
/
api
/
v1
/
patients
curl -X POST "https://api.nevatal.com/api/v1/patients" \
-H "Authorization: Bearer nvtl_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"firstName": "María",
"lastName": "García",
"phone": "+573001234567",
"email": "maria@example.com",
"documentType": "CC",
"documentNumber": "1234567890",
"dateOfBirth": "1990-05-15",
"gender": "female"
}'
{
"id": "pat_abc123",
"firstName": "María",
"lastName": "García",
"email": "maria@example.com",
"phone": "+573001234567",
"documentType": "CC",
"documentNumber": "1234567890",
"dateOfBirth": "1990-05-15",
"gender": "female",
"status": "active",
"createdAt": "2025-03-15T10:30:00Z"
}
{
"statusCode": 400,
"error": "Bad Request",
"message": "Document number already exists in this clinic"
}
Body Parameters
string
required
Patient’s first name
string
required
Patient’s last name
string
Email address
string
required
Phone number with country code (e.g.,
+573001234567)string
required
Document type:
CC (Cédula), CE (Cédula de Extranjería), TI (Tarjeta de Identidad), PA (Pasaporte), RC (Registro Civil)string
required
Document number (unique within the clinic)
string
Date of birth in
YYYY-MM-DD formatstring
Patient gender:
male, female, otherobject
curl -X POST "https://api.nevatal.com/api/v1/patients" \
-H "Authorization: Bearer nvtl_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"firstName": "María",
"lastName": "García",
"phone": "+573001234567",
"email": "maria@example.com",
"documentType": "CC",
"documentNumber": "1234567890",
"dateOfBirth": "1990-05-15",
"gender": "female"
}'
{
"id": "pat_abc123",
"firstName": "María",
"lastName": "García",
"email": "maria@example.com",
"phone": "+573001234567",
"documentType": "CC",
"documentNumber": "1234567890",
"dateOfBirth": "1990-05-15",
"gender": "female",
"status": "active",
"createdAt": "2025-03-15T10:30:00Z"
}
{
"statusCode": 400,
"error": "Bad Request",
"message": "Document number already exists in this clinic"
}

