Skip to navigation

Retrieve a website

View as MarkdownOpen in Claude

Returns one website with its details and its private note. Add related records with include, or trim the attributes with fields[sites].

The note is returned by default, unlike in “List websites”; naming fields[sites] without note leaves it out. Only include and fields apply: filter, sort and page are ignored.

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Path parameters

sitestringRequired

Query parameters

includestringOptional

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. site_preset_uptime embeds the website's Uptime Monitor settings with their global configuration and current state; its id is the one "Retrieve a website's uptime settings" and "Update a website's uptime settings" take. site_preset_backup does the same for backups, and site_preset_patchstack for Patch & Protect: its id is the one "Retrieve a website's Patch & Protect settings" takes, and it is null for a website without protection.

fields[sites]stringOptional

Attributes to return, comma-separated; only those are returned. Computed attributes are left out unless named: note, is_favorite, updatable_items_count, vulnerable_items_count and has_patchstack.

Response

200 - Website

dataobjectOptional
includedlist of objectsOptional
jsonapiobjectOptional