Agency API endpoints were added in v2.8.0.
/wp-json/wp-manager-pro/v1/agency
All endpoints require X-WP-Nonce header with a wp_rest nonce and the manage_options capability.
GET /agency/mail-settings
Returns the mail interceptor configuration (whether Dev Mode is enabled).Response
Whether Dev Mode is active (intercepting all outgoing emails).
Array of captured email log entries.
GET /agency/mail-log
Returns paginated mail interceptor log entries.Response
Returns an array of log entry objects (same structure as thelog field above).
DELETE /agency/mail-log/clear
Clears all mail interceptor log entries.Response
Always
true on success.POST /agency/mail-resend
Resends a logged email immediately, regardless of Dev Mode state.Parameters
ID of the mail log entry to resend.
Response
Always
true on success.GET /agency/login-page
Returns the current white-label login page configuration.Response
Whether the custom login page is active.
URL of the custom logo image.
Hex background color.
URL of the background image.
Hex color for the login button.
Custom heading shown above the login form.
Custom footer text.
URL for the Privacy policy link.
URL for the Terms of service link.
POST /agency/login-page
Saves white-label login page settings. Pass only the fields you want to update.Parameters
Whether to activate the custom login page.
Logo image URL.
Hex background color.
Background image URL.
Hex color for the login button.
Heading text above the form.
Footer text below the form.
Privacy policy link URL.
Terms of service link URL.
Response
Always
true on success.GET /agency/admin-customiser
Returns the current admin menu and dashboard widget visibility settings.Response
Array of admin menu slugs hidden for non-administrator roles.
Array of dashboard widget IDs hidden for non-administrator roles.
All available admin menu items as
{slug, title} objects.All available dashboard widgets as
{id, title} objects.POST /agency/admin-customiser
Saves admin UI customisation settings.Parameters
Array of admin menu slugs to hide from non-administrator roles.
Array of dashboard widget IDs to hide from non-administrator roles.
Response
Always
true on success.GET /agency/report
Generates and returns the full client health report data.Response
0–100 health score.
WordPress site name.
Site home URL.
ISO 8601 generation timestamp.
WordPress version.
PHP version.
Total database size (human-readable).
Whether the site is served over HTTPS.
Whether
WP_DEBUG is enabled.Number of pending plugin/theme/core updates.
Date of the most recent WP Manager Pro backup, or
null.Array of active plugin objects with
name, version, author, and update_available.Active theme details:
name, version, author, update_available.GET /agency/coming-soon
Returns the coming soon page configuration.Response
Whether coming soon mode is active.
Main heading text.
Supporting message text.
ISO 8601 launch date for the countdown timer.
Logo image URL.
Background image URL.
Hex background color.
Hex accent color for countdown tiles.
Whether the email capture form is active.
Array of captured subscriber email addresses.
POST /agency/coming-soon
Saves coming soon page settings. Also updates theactive state.
Parameters
Whether to enable coming soon mode.
Main heading text.
Supporting message.
ISO 8601 launch date.
Logo image URL.
Background image URL.
Hex background color.
Hex accent color.
Enable/disable email capture form.
Response
Always
true on success.DELETE /agency/coming-soon/emails/clear
Clears all captured coming soon subscriber email addresses.Response
Always
true on success.