# Listar webhooks

GET `https://api.bydomu.com/v1/webhooks`

This reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.

Webhooks de la organización con su última entrega y las fallidas de las últimas 24 h. El secreto nunca se devuelve. Pide el scope `webhooks:write`: la lista dice a dónde salen los datos de la organización.

Permission required

`webhooks:write`

Required header

`X-API-Key` · secret key

Access level

Level 3 · with support review

## Response 200

`Webhook[]` · 11 fields

**`data[]` id · url · events · eventTypes · isActive · description · createdAt · createdBy · _count · lastDelivery · failedLast24h**

`id` string

`url` string

`events` string[] Eventos legados suscritos

`eventTypes` string[]

`isActive` boolean

`description` string

`createdAt` string

**`createdBy` id · name**

`id` string

`name` string

**`_count` deliveries**

`deliveries` integer

**`lastDelivery` success · statusCode · error · createdAt**

`success` boolean

`statusCode` integer

`error` string

`createdAt` string

`failedLast24h` integer

## Possible errors

shaped as `{ "error": { "code", "message" } }`

- **401** UNAUTHORIZED
- **403** FORBIDDEN
- **429** RATE_LIMITED
- **500** INTERNAL_ERROR

cURL:

```bash
curl "https://api.bydomu.com/v1/webhooks" \
  -H "X-API-Key: $BYDOMU_API_KEY"
```

JavaScript:

```js
import { ByDomu } from "@bydomu/sdk";

const bydomu = new ByDomu({
  apiKey: process.env.BYDOMU_API_KEY,
});

const { data } = await bydomu.webhooks.list();
```

Python:

```python
import os, requests

r = requests.get(
    "https://api.bydomu.com/v1/webhooks",
    headers={"X-API-Key": os.environ["BYDOMU_API_KEY"]}
)
data = r.json()
```

**Response · 200 · example**

```json
{
  "data": [
    {
      "id": "clx1whk001",
      "url": "https://hooks.zapier.com/hooks/catch/123456/abcdef/",
      "events": [],
      "eventTypes": [
        "deal.won"
      ],
      "isActive": true,
      "description": "Zap: negocios ganados a Google Sheets",
      "createdAt": "2026-09-22T12:00:00.000Z",
      "createdBy": {
        "id": "clx1usr001",
        "name": "Carlos Rodríguez"
      },
      "_count": {
        "deliveries": 42
      },
      "lastDelivery": {
        "success": true,
        "statusCode": 200,
        "error": "connect ETIMEDOUT",
        "createdAt": "2026-09-25T10:00:00.000Z"
      },
      "failedLast24h": 0
    }
  ]
}
```
