@if($latestPlainToken)
@endif
{{ __('New API Token (copy now):') }}
@endif
@if($canManageAttendance)
{{ $latestPlainToken }}
{{ __('This token will not be shown again.') }}
{{ __('Create API Client') }}
{{ __('Endpoint') }}
{{ __('POST /api/v1/attendance/logs/bulk') }}
{{ __('Headers') }}
Authorization: Bearer YOUR_API_TOKEN
Content-Type: application/json
{{ __('Payload Example') }}
{
"entries": [
{
"employee_code": "EMP0001",
"attendance_date": "2026-03-01",
"entry_type": "checkin",
"entry_time": "09:01 AM",
"remarks": "Device punch in"
},
{
"employee_code": "EMP0001",
"attendance_date": "2026-03-01",
"entry_type": "checkout",
"entry_time": "06:05 PM",
"remarks": "Device punch out"
}
]
}
{{ __('API Clients') }}
| {{ __('Name') }} | {{ __('Allowed IPs') }} | {{ __('Status') }} | {{ __('Last Used') }} | {{ __('Action') }} |
|---|---|---|---|---|
| {{ $client->name }} | {{ $client->allowed_ips ?: '-' }} | {{ $client->is_active ? __('Active') : __('Disabled') }} | {{ $client->last_used_at ? $client->last_used_at->format('Y-m-d H:i:s') : '-' }} | @if($canManageAttendance) @else - @endif |
| {{ __('No API clients configured.') }} | ||||