# Webhook Endpoints block

> Webhook endpoints settings list with per-endpoint delivery-health alerts and enable toggle

Webhook developer settings managing endpoint routes with delivery-health tooltip alerts, status badges (Delivering, Retrying, Paused), enable Switch, copy URL, rotate-secret and remove actions. ReUI Frame, Badge; shadcn Item, Switch, DropdownMenu.

- Type: Pro block
- Category: [Settings](https://web.dev.reui.io/blocks/application/settings.md)
- Page: https://web.dev.reui.io/blocks/application/settings/settings-8
- MCP: `get_block("settings-8")`
- Built with: Badge, Button, Dropdown Menu, Frame, Item, Separator, Switch, Tooltip
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

Webhook routes whose tooltip alerts flag delivery lag and stale signing secrets, with copy URL, rotate secret and a pause switch

## Agent notes

- Keep `lastDelivery` as 2m ago and `secretRotation` as 12d ago in `ENDPOINTS`, or edit `parseMinutesAgo` and `parseRotationDaysAgo`, since the alerts read both
- Manage, View deliveries and Add Endpoint only call `showEndpointToast`; Rotate secret, Remove and the pause switch edit local `endpoints` state, not an API

## When not to use

- Third party apps with brand logos and a Connect button rather than endpoint URLs: use [Integration Events](https://web.dev.reui.io/blocks/application/settings/settings-6.md) (`get_block("settings-6")`)
- Many API keys in a sortable paginated table with call counts and a pause all switch: use [API Integrations](https://web.dev.reui.io/blocks/application/settings/settings-14.md) (`get_block("settings-14")`)

## Third-party libraries

- Sonner v2: [API reference](https://sonner.emilkowal.ski/toast), [docs](https://sonner.emilkowal.ski/getting-started)

## Install

```bash
npx shadcn@latest add @reui/settings-8
```

## About Settings blocks

### When to use

- Preference pages of labeled rows, each row carrying its own switch, select, input or button
- Integration pages that pick, connect or configure third party apps, webhook routes and API keys
- Account, security, notification channel and role permission policies

### When not to use

- A new record to fill in and submit, such as an invoice, a product or a member invite: use the [Form blocks](https://web.dev.reui.io/blocks/application/form.md)
- A billing page with usage counters and an invoice table, or a referral rewards page: use the [Profile blocks](https://web.dev.reui.io/blocks/application/profile.md)
- The sidebar navigation that wraps every page of a product, the settings page included: use the [App Shell blocks](https://web.dev.reui.io/blocks/application/app-shell.md)

### Agent notes

- Each page.tsx centers the root in a padded `min-h-svh` wrapper and each root caps its own max width; remove both inside your settings route
- Nothing is saved and no block calls an API, so wire every button and control, including any `useState` or `defaultChecked` value, to your settings API

Every ReUI item has a twin like this one; the index is https://web.dev.reui.io/llms.txt. Agents with the ReUI MCP (https://web.dev.reui.io/docs/mcp) get the same guidance from the getters named above.
