v1

latestOpenAPI 3.0.02026-07-14198572488.4 KB
Site Templates

Create new site template

Kicks off the creation of a task to create a new site template from a site

post/v1/site_templates

Request body

namestring required

Name of the site template

site_idinteger required

Site ID to build the template from

notesstring

Notes about the site template

tagsstring[]

Tags which can be used identify templates

Example request

{
  "name": "WooCommerce with SEO Plugins",
  "site_id": 8675309,
  "notes": "Our traditional WooCommerce site with SEO including X and Y plugins on Z theme."
}

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

{
  "success": true,
  "errors": [],
  "messages": [],
  "result": {
    "task_level": "account"
  }
}