Wp Admin API
Programmatically manage your WordPress sites, backups, updates, and security scans. RESTful, JSON-based, and built for developers.
🔑 Authentication
All API requests require authentication via API Key. Include it in the Authorization header as a Bearer token.
API Key Format
Generate your API key from the Wp Admin Dashboard under Settings → API Keys. Keep it secure and never expose it in client-side code.
📡 Endpoints
Explore the available API endpoints. Click a tab to view details, parameters, and response examples.
Returns a paginated list of all WordPress sites managed under your account.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (default: 1) |
| limit | integer | Items per page (default: 20, max: 100) |
| status | string | Filter by: active, maintenance, suspended |
Response Example
Triggers an immediate full backup of the specified WordPress site.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| id | string | The unique site identifier * |
Response Example
Fetches pending core, plugin, and theme updates for a site.
Response Example
Initiates a deep security scan checking for malware, suspicious files, and vulnerabilities.
Response Example
Updates management preferences for a specific site.
Request Body
| Parameter | Type | Description |
|---|---|---|
| auto_updates | boolean | Enable automatic updates |
| backup_schedule | string | "daily", "weekly", or "none" |
| staging_mode | boolean | Enable testing updates on staging first |
Response Example
âš¡ Rate Limits & Errors
Rate Limits
API requests are throttled to ensure platform stability. Limits are calculated per API key per hour.
Headers X-RateLimit-Limit and X-RateLimit-Remaining are included in every response.
Error Format
Wp Admin uses standard HTTP status codes. All errors return a consistent JSON structure.