Use the MainWP Postman collection as the source of truth for request and response schemas.
{id_or_domain} accepts either a numeric site ID or a site domain.
Route Matrix
CSV Import Format
/users/import expects a CSV with 10 columns per row:
usernameemailfirst_namelast_nameuser_urlpasswordsend_password(true/false)role(administrator,subscriber,editor,author,contributor)select_sites(semicolon-separated site URLs)select_groups(semicolon-separated group names)
has_header=true (default), the first line is skipped.
Representative Requests
Create a user across selected sites
Update admin password for selected sites
per-user ownership rules limit
/users/update-admin-password to sites owned by the key’s WordPress user. Team Control permissions can narrow this selection further. Selecting all sites does not include another user’s sites.