@php $stats = $stats ?? [ 'endpoints' => 0, 'active' => 0, 'paused' => 0, 'events24' => 0, 'successRate' => 100, 'latencyP95' => 0, ]; $statusCounts = $statusCounts ?? ['all' => 0, 'active' => 0, 'paused' => 0, 'failing' => 0]; $eventMix = $eventMix ?? []; $currentStatus = $currentStatus ?? 'all'; $currentQuery = $currentQuery ?? ''; @endphp
{{ __('More / Webhooks') }}
{{ __('Webhooks') }} & events
{{ $stats['endpoints'] }} {{ __('endpoints') }} {{ __('View docs') }} New webhook
{{ __('Endpoints') }} {{ $stats['active'] }} active
{{ $stats['endpoints'] }} {{ $stats['paused'] }} paused
{{ __('Events fired (24h)') }} {{ __('live') }}
{{ number_format($stats['events24']) }} {{ __('across all') }}
{{ __('Success rate') }} {{ $stats['successRate'] >= 95 ? 'healthy' : 'degraded' }}
{{ number_format($stats['successRate'], 1) }}% {{ __('last 24h') }}
{{ __('Avg latency') }} target 500ms
{{ $stats['latencyP95'] }}ms p95
{{ __('Delivery activity') }}

{{ __('Events over time') }}

{{ __('Event mix') }}

{{ __('Top events (24h)') }}

@forelse ($eventMix as $row)
{{ $row['name'] }} {{ number_format($row['count']) }}
@empty @include('user.partials.empty-state', [ 'message' => 'No recent events found. Events fired in the last 24 hours will appear here.', ]) @endforelse
@foreach (['all' => 'All', 'active' => 'Active', 'paused' => 'Paused', 'failing' => 'Failing'] as $key => $label) @endforeach
@include('user.webhooks._rows', ['hooks' => $hooks])
{{ __('Endpoint') }} {{ __('Events') }} {{ __('Last fired') }} {{ __('Success (24h)') }} {{ __('Latency') }} {{ __('Status') }} {{ __('Actions') }}
@include('user.partials.pagination', [ 'paginator' => $hooks, 'dataAttr' => 'data-wh-page', 'label' => 'webhooks', ])
{{ __('Recent deliveries') }}

Last {{ $recent->count() ?: 8 }} firings

@if ($hooks->count() > 0) View all @endif
@include('user.webhooks._recent', ['recent' => $recent])
{{ __('Time') }} {{ __('Event') }} {{ __('Endpoint') }} {{ __('Code') }} {{ __('Latency') }} {{ __('Action') }}
{{ __('Tip') }}
{{ __('Verify with HMAC') }}

{{ __('Every payload is signed with your endpoint secret in the') }} {{ __('X-WaDesk-Signature') }} header. Verify it before processing / that's how you know the event is really from us.

Add an endpoint