Admin API Management
Manage user API keys, monitor usage, and configure API settings from the admin panel.
Overview
The API Management section in the admin panel provides comprehensive tools to manage your platform's API system. This includes managing user API keys, monitoring usage, and customizing the public API showcase page.
Access API Management from the admin sidebar: API Management → API Keys or API Management → Usage Logs
API Keys Management
View and manage all user API keys from a centralized interface.
Key Management Features
- View All Keys - See all API keys across all users
- Edit Permissions - Modify read/write permissions for any key
- Toggle Status - Enable or disable keys instantly
- Reset Counters - Reset monthly call counters
- IP Whitelist - Restrict key usage to specific IPs
- Expiration Dates - Set expiry dates for API keys
- Rate Limits - Configure custom rate limits (100-1,000,000 calls/month)
- Bulk Actions - Enable/disable multiple keys at once
Key Information Displayed
| Column | Description |
|---|---|
| User | The user who owns the API key |
| Key Name | User-defined name for the key |
| Permissions | Read-only or Read/Write access |
| Status | Active or Inactive |
| Monthly Calls | Number of API calls this month |
| Rate Limit | Maximum calls allowed per month |
| Last Used | Last time the key was used |
| Created | When the key was created |
API Usage Logs
Monitor all API requests made across your platform with detailed logging.
Usage Log Features
- Real-Time Updates - Logs update automatically every 30 seconds
- Filter by Key - View requests for specific API keys
- Filter by User - See all requests from a specific user
- Filter by Method - Filter by GET, POST, PUT, DELETE
- Filter by Status - Filter by HTTP status code (200, 400, 401, etc.)
- Date Range - View logs for specific time periods
- Slow Requests - Highlight requests taking over 1 second
Log Information
| Field | Description |
|---|---|
| Endpoint | The API endpoint that was called |
| Method | HTTP method (GET, POST, PUT, DELETE) |
| Status Code | HTTP response status code |
| Response Time | Time taken to process request (in ms) |
| Client IP | IP address of the requester |
| User Agent | Browser/client information |
| Timestamp | When the request was made |
API Page Settings
Customize the public API showcase page that your users see at /api.
Customizable Sections
Hero Section
Badge text, title, description, and CTA buttons
Statistics
Display 4 key metrics (endpoints, currencies, calls, uptime)
Code Examples
Customize code snippets in cURL, JavaScript, Python, PHP
Pricing Section
Configure tier names, prices, and features
SEO Settings
Optimize your API page for search engines:
- Page Title - Custom title tag for the API page
- Meta Description - Description for search results
- Keywords - Relevant keywords for SEO
- Open Graph - Social media sharing optimization
Navigation Configuration
The API page is automatically added to your site's main navigation. Users will see an "API" link that directs them to the API showcase page.
The API link is automatically added to the navigation through the dynamic menu system. No manual configuration required.