Use the MainWP Postman collection as the source of truth for request and response schemas.
What You’ll Learn
- Which extension routes are available in MainWP REST API v2
- Which parameters each extension endpoint accepts
- How to call Comments, SSL Monitor, Domain Monitor, Lighthouse, Pro Reports, and Time Tracker routes
Route Matrix
Comments
{id_or_domain} accepts either a numeric site ID or a site domain.
Allowed
action values: approve, unapprove, spam, unspam, trash, restore, delete.
Allowed status filter values: approved, pending, spam, trash, all (default all). The maximum parameter caps the number of comments returned per site (default 50, max 500).
SSL Monitor
Domain Monitor
Lighthouse
Pro Reports
Common query parameters for Pro Reports routes:{id_or_domain} accepts either a numeric site ID or a site domain.
Time Tracker
{id_or_domain} accepts a numeric site ID or domain. {id_or_email} accepts a client ID or email.
