Sites

Create site

Creates a new site from a template and returns its site_name. Store the site_name: it's unique across all Duda sites, and you need it for every other call about the site.

post/api/sites/multiscreen/create

Request

  • Base URL
    https://api.duda.co
  • URL
    https://api.duda.co/api/sites/multiscreen/create
  • Auth
    HTTP basic

Request body

default_domain_prefixstring
do_not_gen_sslboolean
langstring

Rejected when building from a vibe template.

template_aliasstring

Alias of the template to build from. A vibe template creates a vibe site, which rejects url, lang, xframe_options and any of site_data.{piwik_id, site_seo, removeBizInfos, schemas, editor, site_business_info}.

template_idinteger

Deprecated, use 'template_alias'.

urlstring

Rejected when building from a vibe template.

Response

OK

site_namestring

Changes

No recorded changes to this operation across all 1 revision of this API.