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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

We recommend storing thesite_name in your database

The site_name is a unique string across all Duda websites and will be needed to later access other resources, such as updating the site, getting analytics or granting access.

Body Params
string
boolean
labels
array of objects
labels
string

Rejected when building from a vibe template.

site_data
object
string

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

int32

Deprecated, use 'template_alias'.

string

Rejected when building from a vibe template.

xframe_options
object
Responses

405

Method Not Allowed

500

Internal Server Error

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json