Skip to main content
GET
/
patients
Listar pacientes
curl --request GET \
  --url https://api.lina.health/v1/patients \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "pat_xyz789",
      "firstName": "María",
      "lastName": "García",
      "email": "maria.garcia@email.com",
      "phone": "+34612345678",
      "dateOfBirth": "1985-03-15",
      "status": "active",
      "tags": ["post-operatorio", "traumatología"],
      "metadata": {},
      "createdAt": "2026-05-01T10:00:00Z",
      "updatedAt": "2026-05-14T08:30:00Z"
    },
    {
      "id": "pat_abc123",
      "firstName": "Carlos",
      "lastName": "López",
      "email": "carlos.lopez@email.com",
      "phone": "+34698765432",
      "dateOfBirth": "1990-07-22",
      "status": "active",
      "tags": ["cardiología"],
      "metadata": { "insuranceId": "INS-12345" },
      "createdAt": "2026-04-20T14:00:00Z",
      "updatedAt": "2026-05-10T11:00:00Z"
    }
  ],
  "pagination": {
    "cursor": "eyJpZCI6InBhdF9hYmMxMjMifQ==",
    "hasMore": true,
    "limit": 20
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.linahealthcareplatform.com/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

limit
integer
default:"20"
Número de resultados por página (máximo 100).
cursor
string
Cursor de paginación devuelto en la respuesta anterior.
Busca por nombre, apellido, email o teléfono del paciente.
status
string
Filtra por estado del paciente. Valores: active, inactive.
{
  "data": [
    {
      "id": "pat_xyz789",
      "firstName": "María",
      "lastName": "García",
      "email": "maria.garcia@email.com",
      "phone": "+34612345678",
      "dateOfBirth": "1985-03-15",
      "status": "active",
      "tags": ["post-operatorio", "traumatología"],
      "metadata": {},
      "createdAt": "2026-05-01T10:00:00Z",
      "updatedAt": "2026-05-14T08:30:00Z"
    },
    {
      "id": "pat_abc123",
      "firstName": "Carlos",
      "lastName": "López",
      "email": "carlos.lopez@email.com",
      "phone": "+34698765432",
      "dateOfBirth": "1990-07-22",
      "status": "active",
      "tags": ["cardiología"],
      "metadata": { "insuranceId": "INS-12345" },
      "createdAt": "2026-04-20T14:00:00Z",
      "updatedAt": "2026-05-10T11:00:00Z"
    }
  ],
  "pagination": {
    "cursor": "eyJpZCI6InBhdF9hYmMxMjMifQ==",
    "hasMore": true,
    "limit": 20
  }
}
data
array
Lista de objetos paciente.
pagination.cursor
string
Cursor para obtener la siguiente página de resultados.
pagination.hasMore
boolean
Indica si hay más resultados disponibles.