Site Object


Properties
idstringformat GUID

Site ID.


htmlAppIdstringformat GUID

HTML app ID for the site.


namestring

Site name. Used in the site's URL.


displayNamestring

Site display name. Used for display purposes, such as in the browser's tab name.


createdDatestringformat date-time

Site creation date.


updatedDatestringformat date-time

Site updated date.


trashedDatestringformat date-time

Site trashed date.


publishedboolean

Whether the site is published.


premiumboolean

Whether the site has a Wix Premium (paid) plan.


viewUrlstring

Live site URL.


editUrlstring

Editor site URL.


thumbnailstring

Site thumbnail.


ownerAccountIdstringformat GUID

Site owner's account ID.


contributorAccountIdsArray <string>format GUIDminItems 1maxItems 1000

Site contributors' account IDs.


editorTypestring
5 enum supported values:
UNKNOWNEDITORADIEDITORXSTUDIO

Site's Wix editor type.


blockedboolean

Whether Wix has blocked this site due to legal issues.


folderIdstringformat GUID

Folder ID that contains this site. Empty if site is at root level.


namespacestring
20 enum supported values:
UNKNOWN_NAMESPACEWIXSHOUT_OUTALBUMSWIX_STORES_TEST_DRIVEHOTELSCLUBSONBOARDING_DRAFTDEV_SITELOGOSVIDEO_MAKERPARTNER_DASHBOARDDEV_CENTER_COMPANYHTML_DRAFTSITELESS_BUSINESSCREATOR_ECONOMYDASHBOARD_FIRSTANYWHEREHEADLESSACCOUNT_MASTER_CMS

Namespace of the site, for internal use.


domainConnectedboolean

Whether the site has a connected domain.

Was this helpful?
Yes
No