curl -X GET "https://api.nevatal.com/api/v1/patients?page=1&limit=20" \
-H "Authorization: Bearer nvtl_your_api_key"
{
"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
}
}
Retrieve a paginated list of patients in your clinic
curl -X GET "https://api.nevatal.com/api/v1/patients?page=1&limit=20" \
-H "Authorization: Bearer nvtl_your_api_key"
{
"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
}
}
active, inactivecurl -X GET "https://api.nevatal.com/api/v1/patients?page=1&limit=20" \
-H "Authorization: Bearer nvtl_your_api_key"
{
"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
}
}