docs

Documentation

Everything you need to install, configure, and master AdminLocks.

API Reference

Built for developers

The AdminLocks REST API gives you programmatic access to audit logs, policies, snapshots, and site configuration. Authenticated with standard WordPress application passwords.

RESTful JSON endpoints
WordPress application password auth
Pagination, filtering, and sorting
Webhook event subscriptions
View Full API Docs
GET /wp-json/adminlocks/v1/audit-log
Example
Request
curl -X GET \
  https://example.com/wp-json/adminlocks/v1/audit-log \
  -H "Authorization: Basic {base64_credentials}" \
  -H "Content-Type: application/json"
Response · 200 OK
{
  "total": 1247,
  "page": 1,
  "per_page": 25,
  "entries": [
    {
      "id": 8401,
      "action": "plugin.activated",
      "user": "client@agency.com",
      "status": "blocked",
      "policy": "no-plugin-install",
      "ip": "192.168.1.42",
      "timestamp": "2026-03-04T14:23:01Z",
      "snapshot_id": null
    }
  ]
}

Need help?

Can't find what you're looking for? Our support team is here to help you get the most out of AdminLocks.

support@adminlocks.com