# List webhooks

`GET https://api.fiscalisto.com/v1/webhook_endpoints`

The webhooks of the key's mode. Up to 16 per mode.

## Before you call

- **A key for the whole account**: not limited to some issuers or to a test environment.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `limit` | query |  | How many per page, from 1 to 100. 10 by default. |
| `starting_after` | query |  | The id of the last one on the previous page, for the next one. |

## With the TypeScript SDK

```ts
import { Fiscalisto } from "fiscalisto";

// La llave viene de FISCALISTO_API_KEY.
const fiscalisto = new Fiscalisto();

for await (const item of fiscalisto.webhookEndpoints.list()) {
  console.log(item.id);
}
```

## With the Python SDK

```python
from fiscalisto import Fiscalisto

# La llave viene de FISCALISTO_API_KEY.
fiscalisto = Fiscalisto()

for item in fiscalisto.webhook_endpoints.list():
    print(item["id"])
```

## With the PHP SDK

```php
<?php

use Fiscalisto\Fiscalisto;

// La llave viene de FISCALISTO_API_KEY.
$fiscalisto = new Fiscalisto();

foreach ($fiscalisto->webhookEndpoints->list() as $item) {
    echo $item['id'], "\n";
}
```

## With the .NET SDK

```csharp
using Fiscalisto;

// La llave viene de FISCALISTO_API_KEY.
var fiscalisto = new FiscalistoClient();

await foreach (var item in fiscalisto.WebhookEndpoints.ListAutoPagingAsync())
    Console.WriteLine(item.Id);
```

## With the Go SDK

```go
package main

import (
	"context"
	"fmt"
	"log"

	fiscalisto "fiscalisto.com/go"
)

func main() {
	// La llave viene de FISCALISTO_API_KEY.
	client, err := fiscalisto.NewClient("")
	if err != nil {
		log.Fatal(err)
	}
	ctx := context.Background()

	for item, err := range client.WebhookEndpoints.ListAutoPaging(ctx, nil) {
		if err != nil {
			log.Fatal(err)
		}
		fmt.Println(item.ID)
	}
}
```

## With the Java SDK

```java
import com.fiscalisto.FiscalistoClient;

// La llave viene de FISCALISTO_API_KEY.
var fiscalisto = new FiscalistoClient();

for (var item : fiscalisto.webhookEndpoints().listAutoPaging()) {
    System.out.println(item.getId());
}
```

## Response 200

OK.

A `WebhookEndpointList` object:

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"list"` | yes | What kind of object it is («invoice», «customer»…). |
| `data` | array of object | yes | The objects on this page. |
| `data[].id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `data[].livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `data[].object` | `"webhook_endpoint"` | yes | What kind of object it is («invoice», «customer»…). |
| `data[].sandbox` | string or null | yes | The sandbox (sbx_…) it belongs to, or null if it belongs to the account. See /v1/sandboxes. |
| `data[].url` | string | yes | https address on your server that receives the notices. |
| `data[].description` | string or null | yes | What it is for, for you. |
| `data[].events` | array of string | yes | Events you want to receive, or ["*"] for all (the default). The list with when each one arrives: [Event types](https://fiscalisto.com/en/docs/api/webhooks#tipos-de-evento). |
| `data[].status` | `enabled`, `failing`, `disabled` | yes | enabled: delivering. failing: its deliveries fail (it turns off after 5 days like that). disabled: off. |
| `data[].disabled_reason` | string or null |  | Why it turned off: failing (its deliveries failed 5 days in a row), gone (your server answered 410 Gone) or manual (you turned it off). |
| `data[].failing_since` | string (date-time) or null |  | Since when deliveries have been failing, or null. |
| `data[].previous_secret_expires_at` | string (date-time) or null | yes | Until when the previous secret also signs (after rotating it), or null. |
| `data[].api_version` | string or null | yes | The API version of its events; null: the account's. |
| `data[].created_at` | string (date-time) or null | yes | When it was created, ISO 8601 with Mexico City time (-06:00). |
| `data[].secret` | string |  | Signing secret (whsec_…). It only comes when it is created or rotated: save it to verify signatures. |
| `has_more` | boolean | yes | true if there are more: request the next one with starting_after set to the id of the last one. |
| `url` | string | yes | This list's path. |

```json
{
  "object": "list",
  "data": [
    {
      "id": "whe_0q1Vmmw52sbDpmtsKD1E",
      "object": "webhook_endpoint",
      "livemode": false,
      "sandbox": null,
      "url": "https://mi-plataforma.mx/webhooks/fiscalisto",
      "description": null,
      "events": [
        "invoice.stamped"
      ],
      "status": "enabled",
      "disabled_reason": null,
      "failing_since": null,
      "previous_secret_expires_at": null,
      "api_version": null,
      "created_at": "2026-10-24T10:15:42-06:00",
      "secret": "whsec_MfKQ9r7Cq1ZzR0nN3xY2bW8eT5uV6sA4"
    }
  ],
  "has_more": false,
  "url": "/v1/webhook_endpoints"
}
```

## Errors

- `key_restricted` (403): This key is limited to some issuers and the request touches another one (or creates one, or uses something of the whole account, like webhooks).

Plus those of any call (key, fields, limits): https://fiscalisto.com/en/docs/api/errores.md.
