> ## Documentation Index
> Fetch the complete documentation index at: https://docs.doglytdc.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Listar Webhooks

> Lista los webhooks de la cuenta con URL, eventos y si están activos.

#### Alcance

```bash theme={null}
read webhooks
```

## Qué hace

Lista los webhooks de la cuenta con URL, eventos y si están activos.

## Casos de uso

* Auditar integraciones
* Evitar webhooks duplicados

## Respuesta

**data** `object[]`

**campos**

**id** `string\<uuid\>`

Identificador único.

**name** `string`

**url** `string`

**events** `string[]`

Eventos suscritos.

**active** `boolean`

Si recibe entregas.

**created\_at** `string\<date-time\>`

Cuándo fue creado.

## Errores

| Estado | Descripción |
| - | - |
| `401` | Clave inválida o revocada. |
| `403` | Faltan alcances (`insufficient_scope`). |
| `429` | Límite de solicitudes (`rate_limited`). |

```bash cURL theme={null}
curl --request GET \
  --url https://ucsyxzpdbnuyehizezvb.supabase.co/functions/v1/doglytdc-pay/v1/webhooks \
  -u "$DPAY_CLIENT_ID:$DPAY_CLIENT_SECRET"
```

```json 200 theme={null}
{
  "data": [
    {
      "id": "c7d8e9f0-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
      "name": "Mi tienda",
      "url": "https://mitienda.com/webhooks/doglytdc",
      "events": [
        "purchase_approved"
      ],
      "active": true,
      "created_at": "2026-11-06T18:10:00Z"
    }
  ]
}
```

```json 401 theme={null}
{ "error": "unauthorized", "message": "Chave de API inválida." }
```

```json 403 theme={null}
{ "error": "insufficient_scope", "message": "Esta chave precisa dos escopos: read, webhooks." }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.