Settings Location
Go to Settings → REST API Control in your WordPress admin.
Global Settings
Disable REST API for Unauthenticated Users
The main toggle. When enabled, all REST API requests from visitors who are not logged in will be blocked with a 401 error — unless the endpoint is whitelisted.
Custom Error Message
Configure the message returned to blocked REST API requests. Default: "REST API access restricted."
This message is returned as a JSON error response with HTTP status 401.
Allow REST API for All Logged-In Users
When enabled (default), any logged-in user has full REST API access — unless their role is specifically restricted in the Per-Role Controls section below.
When disabled, logged-in users are also blocked unless their role has explicit access configured.
Endpoint Whitelist (Unauthenticated Users)
This section shows all registered REST API endpoints on your site, auto-discovered and organized by namespace.
How the Tree Works
contact-form-7 allows all CF7 endpoints)Common Namespaces to Whitelist
contact-form-7 — Required for Contact Form 7 submissionswc/store and wc/store/v1 — Required for WooCommerce cart and checkout blocksjetpack — Required for Jetpack featureswpforms — Required for WPForms submissionsThe plugin warns you if it detects an active plugin whose endpoints are not whitelisted.
Per-Role Controls (Advanced)
This collapsible section lets you restrict REST API access for specific user roles even when they are logged in.
How It Works
Common Use Cases
Import / Export
Export
Click Export Settings to download a JSON file containing all current settings: toggle state, error message, endpoint whitelists, and per-role configurations.
Import
Click Choose File, select a previously exported JSON file, then click Import Settings. All settings are validated, sanitized, and merged with defaults before saving.
Reset to Defaults
Click Reset to Defaults to clear all settings and return to the plugin's initial state. This action requires confirmation and cannot be undone.