Skip to main content
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"
{
  "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
integer
default:"1"
Page number (1-indexed)
limit
integer
default:"20"
Number of results per page (max: 100)
Search by name, email, phone, or document number
status
string
Filter by patient status: active, inactive
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
  }
}