> ## 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.

# Listar webhooks

> Obtiene la lista de webhooks registrados con su estado actual.

<ResponseExample>
  ```json 200 theme={null}
  {
    "data": [
      {
        "id": "wh_abc123",
        "url": "https://tu-servidor.com/webhooks/lina",
        "events": ["form.completed", "call.ended", "credits.low"],
        "status": "active",
        "createdAt": "2026-05-14T10:00:00Z",
        "lastDeliveredAt": "2026-05-14T12:34:56Z"
      },
      {
        "id": "wh_def456",
        "url": "https://otro-servidor.com/hooks",
        "events": ["patient.created"],
        "status": "disabled",
        "createdAt": "2026-04-01T08:00:00Z",
        "lastDeliveredAt": "2026-04-28T15:00:00Z",
        "disabledReason": "Tasa de fallos superior al 95% durante 24 horas"
      }
    ]
  }
  ```
</ResponseExample>

<ResponseField name="data[].status" type="string">
  Estado del webhook: `active` o `disabled`.
</ResponseField>

<ResponseField name="data[].lastDeliveredAt" type="string">
  Fecha del último envío exitoso.
</ResponseField>

<ResponseField name="data[].disabledReason" type="string">
  Motivo de desactivación, si aplica.
</ResponseField>


## OpenAPI

````yaml openapi.yml GET /webhooks
openapi: 3.1.0
info:
  title: LINA Healthcare Platform API
  version: 1.0.0
  description: |
    API de integración para la plataforma LINA Healthcare.
    Todas las rutas requieren un token JWT obtenido intercambiando una API Key.
servers:
  - url: https://api.linahealthcareplatform.com/api/v1
    description: Production
security:
  - bearerAuth: []
paths:
  /webhooks:
    get:
      tags:
        - Webhooks
      summary: Listar webhooks
      operationId: listWebhooks
      responses:
        '200':
          description: Webhooks
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Webhook'
components:
  schemas:
    Webhook:
      type: object
      properties:
        id:
          type: string
        url:
          type: string
        events:
          type: array
          items:
            type: string
        secret:
          type: string
        status:
          type: string
        createdAt:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Token JWT obtenido via POST /auth/token

````