---
title: "Obtener lista de registros de webhook"
method: GET
path: "/webhook/log"
tags: ["Webhook"]
---

# Obtener lista de registros de webhook

`GET /webhook/log`

Registro de cada webhook que se ha enviado en su respectivo estado y evento el cual lo generó

## Query parameters

- `search` string
- `page` number, nullable
- `limit` number
- `status` 'success' | 'error' | 'ongoing'

## Response `200`

Registros de webhook recuperados con éxito

- object
  - `logs` object, required
    - `data` object[], required
      - `id` string, required
      - `webhookId` number, required
      - `status` 'success' | 'error' | 'ongoing', required
      - `createdAt` string, required
      - `currentAttempt` number, required
      - `maxAttempts` number, required
      - `event` 'payment.created' | 'payment.voided' | 'payment.chargeback' | 'contact.status' | 'contact.active' | 'contact.inactive' | 'subscription.created' | 'subscription.updated' | 'subscription.cancelled', required
      - `url` string, required
      - `lastAttempt` object, nullable, required
        - `status` 'success' | 'error' | 'ongoing', required
        - `request` unknown
        - `response` string, nullable, required
        - `createdAt` string, required
        - `attempt` number, required
    - `total` number, required
    - `totalPages` number, required
    - `currentPage` number, required
    - `limit` number, required
    - `hasNextPage` boolean, required
    - `hasPreviousPage` boolean, required

## Other responses

- `400` — Solicitud incorrecta, parámetros de consulta no válidos

---

[API](https://skmtc.dev/fint/apis/fint-api.md) · [All operations](https://skmtc.dev/fint/apis/fint-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fint/fint-api/revisions/5c95bce0a002/schema)
