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": 1026287,
    "template_properties": {
        "can_build_from_url": false,
        "has_store": false,
        "store_type": "NATIVE" | "THIRDPARTY",
        "has_blog": false,
        "page_count": 1,
        "type": "duda"
    },
    "editor": "ADVANCED"
}

Field

Description

template_name string

The name of the template.

preview_url
string

A direct URL to preview the template. This URL is publicly available and does not require authentication.

thumbnail_url
string

A direct URL to a JPG image displaying the template. This would be good to use to show in a template selection page.

mobile_thumbnail_url
string

A screenshot of the mobile view of this template.

desktop_thumbnail_url
string

A screenshot of the desktop view of this template.

tablet_thumbnail_url
string

A screenshot of the tablet view of this template.

template_id
number

A unique number associated with this template. Used to create sites based on the template.

template_properties
object

Contains proprieties of the templates. See details below

editor
enum

The type of editor used to create the template: "ADVANCED", "ADVANCED-2.0"

Template Properties Object

Field

Description

has_store boolean

If the template has an eCommerce store built into it.

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
number

The 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.

📘

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.