curl -X GET "https://api.nevatal.com/api/v1/patients?page=1&limit=20" \
-H "Authorization: Bearer nvtl_your_api_key"
const response = await fetch('https://api.nevatal.com/api/v1/patients?page=1&limit=20', {
headers: { 'Authorization': 'Bearer nvtl_your_api_key' }
});
const data = await response.json();
{
"data": [
{
"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",
"updatedAt": "2025-03-15T10:30:00Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 142,
"totalPages": 8
}
}
Patients
List Patients
Retrieve a paginated list of patients in your clinic
GET
/
api
/
v1
/
patients
curl -X GET "https://api.nevatal.com/api/v1/patients?page=1&limit=20" \
-H "Authorization: Bearer nvtl_your_api_key"
const response = await fetch('https://api.nevatal.com/api/v1/patients?page=1&limit=20', {
headers: { 'Authorization': 'Bearer nvtl_your_api_key' }
});
const data = await response.json();
{
"data": [
{
"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",
"updatedAt": "2025-03-15T10:30:00Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 142,
"totalPages": 8
}
}
Query Parameters
Page number (1-indexed)
Number of results per page (max: 100)
Search by name, email, phone, or document number
Filter by patient status:
active, inactivecurl -X GET "https://api.nevatal.com/api/v1/patients?page=1&limit=20" \
-H "Authorization: Bearer nvtl_your_api_key"
const response = await fetch('https://api.nevatal.com/api/v1/patients?page=1&limit=20', {
headers: { 'Authorization': 'Bearer nvtl_your_api_key' }
});
const data = await response.json();
{
"data": [
{
"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",
"updatedAt": "2025-03-15T10:30:00Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 142,
"totalPages": 8
}
}
⌘I

