v1
latestOpenAPI 3.0.02026-07-14198572488.4 KBSite Templates
Create new site from a site template
Kicks off the creation of a task to create a new site from a site template
post/v1/sites/templates/{template_id}/sites
Path parameters
template_idstring uuid required
Request body
Example request
{
"sub_path": "blog",
"label": "agencypartner1::site1::abcd",
"metadata": {
"key": "value"
},
"template_replacements": [
{
"key": "__contact_email__",
"value": "hello@rocket.net"
}
]
}Response
OK
Example response
{
"success": true,
"errors": [],
"messages": [],
"result": {
"task_level": "account"
}
}