List websites
Returns the websites your token can reach, ordered by name unless you sort otherwise. Use it to find websites by team, tag, connection state, WordPress or PHP version, or name, and to read the details of many websites at once.
A plain listing leaves out some attributes because they cost more to compute; ask for them with fields[sites]. To find out which websites are covered by Patch & Protect, filter with filter[patchstack] or read has_patchstack.
Authentication
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Query parameters
Sort order: name (default, ascending), created_at, is_favorite (starred websites first with -is_favorite), updatable_items_count or vulnerable_items_count. Prefix with - for descending.
Related records to embed, comma-separated: team, tags, site_preset_backup, site_preset_uptime, site_preset_malware_scan, site_preset_broken_link, site_preset_patchstack. The last five embed the settings the website uses for backups, Uptime Monitor, Malware Scanner, Broken Links Checker and Patch & Protect.
Attributes to return, comma-separated; only those are returned. These computed attributes are left out unless you name them: note (the private note), is_favorite, updatable_items_count, vulnerable_items_count and has_patchstack (whether Patch & Protect is switched on for the website).
Free-text search on the website's name, slug or address.
1 for websites whose connection works, 0 for websites that are not connected.
1 for websites with Patch & Protect switched on, 0 for websites without it.
Exact WordPress versions, for example 6.8.1. Several values match any of them.
Exact PHP versions, for example 8.2.27. Several values match any of them.
Response
200 - websites
