@extends('layouts.app') @section('title', 'Create API Client') @section('breadcrumb') @endsection @section('content')
@if(session('success')) @endif @if(session('error')) @endif @if($errors->any()) @endif

Create API Client

Back to List
API Client Information
@csrf @if(config('app.debug'))
Debug Info:
Action: {{ route('api-clients.store') }}
CSRF Token: {{ csrf_token() }}
Session ID: {{ session()->getId() }}
@endif
@error('name')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror

Client Configuration
Maximum number of requests per minute allowed for this client @error('rate_limit')
{{ $message }}
@enderror
Inactive clients cannot make API requests

Security Settings
Comma-separated list of IP addresses or CIDR blocks. Leave empty to allow all IPs. @error('allowed_ips')
{{ $message }}
@enderror

Note: Client ID and Client Secret will be automatically generated when you create this client. Make sure to save them securely as the Client Secret will only be displayed once.
Cancel
Help & Information
Client Name

A descriptive name to identify this API client. Choose something meaningful like "Mobile App v2" or "Partner Integration".

Rate Limiting

Controls how many API requests this client can make per minute. Higher limits for trusted clients, lower for public APIs.

IP Restrictions

Restrict API access to specific IP addresses or networks for enhanced security. Supports both individual IPs and CIDR notation.

Authentication

Each client receives a unique Client ID and Client Secret for API authentication. The secret is only shown once, so save it securely.

@endsection