Template Object

{
    "template_name": "Consultant Landing Page",
    "preview_url": "http://dashboard.russjeffery.com/preview/dm-theme-1026287-en-343",
    "thumbnail_url": "https://irp-cdn.multiscreensite.com/c1e7738d32ae46538527c1fd4e95a9b9/siteTemplateIcons/4CXbg61CTvKDPTEyC7EQ_Consultant_landing_page_3%20screens.png",
    "desktop_thumbnail_url": "https://irp-cdn.multiscreensite.com/c1e7738d32ae46538527c1fd4e95a9b9/siteTemplateIcons/jASytIEDRJWRG0dxSbJj_Consultant_landing_page_Desktop.png",
    "tablet_thumbnail_url": "https://irp-cdn.multiscreensite.com/c1e7738d32ae46538527c1fd4e95a9b9/siteTemplateIcons/4XZxi7HCTWaPx7oTc6fW_Consultant_landing_page_Tablet.png",
    "mobile_thumbnail_url": "https://irp-cdn.multiscreensite.com/c1e7738d32ae46538527c1fd4e95a9b9/siteTemplateIcons/8V63M24zRYaJG96sWSdu_Consultant_landing_page_Mobile.png",
		"template_id (DEPRECATED)": 1005442,
		"template_alias": "967f2fd827924dd69db4042e708aee6b",
    "template_properties": {
        "can_build_from_url": false,
        "has_store": false,
        "has_booking": false,
        "store_type": "NATIVE" | "THIRDPARTY",
        "has_blog": false,
        "ai_enabled": false,
        "page_count": 1,
        "type": "custom",
        "visibility": "PUBLIC"

    },
  "editor": "SIMPLE" | "ADVANCED" | "ADVANCED-2.0",
	"categories": [
			    "Business",
			    "Events"
	]

}
FieldDescription
template_namestringThe name of the template.
preview_urlstringA direct URL to preview the template. This URL is publicly available and does not require authentication.
thumbnail_urlstringA direct URL to a JPG image displaying the template. This would be good to use to show in a template selection page.
mobile_thumbnail_urlstringA screenshot of the mobile view of this template.
desktop_thumbnail_urlstringA screenshot of the desktop view of this template.
tablet_thumbnail_urlstringA screenshot of the tablet view of this template.
template_idnumber(DEPRECATED) A unique number associated with this template. Used to create sites based on the template.
template_alias
string
A unique string associated with this template. Used to create sites based on the template.
template_propertiesobjectContains proprieties of the templates. See details below
editorenumThe type of editor used to create the template: ADVANCED, ADVANCED-2.0
categoriesarrayAn array of the categories this template belongs to: Blank, Blog, Business, CommunityEducation, Events, LandingPage, LifestyleHealth, OnlineStore, PortfolioResume, ProfessionalServices, RestaurantFood, Travel, flex, DudaCommerce, Booking

Template Properties Object

FieldDescription
has_store booleanIf the template contains an eCommerce store.
store_type
string
The type of eCommerce store on the template, can be one of NATIVE or THIRDPARTY
has_blog
boolean
If the template has a blog added to the website once it's created.
page_count numberThe number of pages this template contains.
can_build_from_url
boolean
If the template can be built from a URL
type
string
One of 'duda' or 'custom'. Specifies if a template is a native Duda template or a custom template built by the organization.
ai_enabled
boolean
If the template has been set as "AI Ready" in the Duda template chooser.
has_booking
boolean
If the template contains booking.
visibility
boolean
The visibility of the template in the Duda template chooser. Can be one of PUBLIC or PRIVATE. (Only applies when the type property is set to "custom")
📘

Only templates built by Duda will have a tablet or mobile screenshot returned in the API

Duda does not currently have a way to generate mobile & tablet preview screenshots for custom templates.