Get a website
Returns a single website by websiteId, or by its organizationSlug + websiteSlug pair when starting from a URL — provide exactly one of the two identifications. The response includes whether the caller can manage the website’s CMS schema and domains. Websites in the trash remain retrievable by id (see websites.list with status=deleted for their purge timing); slug lookups only resolve active websites, and inaccessible or deleted resources return 404.
Authorizations
Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.
Query Parameters
Website id. Provide either this or the organizationSlug + websiteSlug pair.
1URL slug of the owning organization. Pair with websiteSlug to look the website up by slug instead of id.
Website URL slug within the organization. Pair with organizationSlug.
Response
The requested website with the caller’s schema- and domain-management flags.
Unique website id.
Id of the organization that owns the website.
Display name, 1–200 characters.
URL-safe identifier unique among active websites in the organization.
Whether custom domains are enabled. Enabling is owner-only and makes the website a billable site; custom domains can only be attached while true.
Latest draft source version number; starts at 1.
Currently published version. null when the website is not published.
When the website was created.
When the website was last modified.
Whether the caller can create and modify the CMS schema.
Whether the caller can create and manage domains.
Public URL of the current favicon image. null when no available favicon is configured. Change it with the favicon endpoint.