You can create sites from template using this API. Templates can be of two types: Private or Shared.

Private Sites

Set "is_shared": false and don't send "has_subscribed" parameter. Example:

{
    "template_slug": "slug", 
    "site_name": "mysite", 
    "is_reserved" : false
}

Shared Sites (a.k.a Sandbox Sites)

Example:

{
    "template_slug": "slug",
    "is_shared": true,
    "has_subscribed": true,
    "email": "[email protected]"
}

Language
Authentication
Bearer
Click Try It! to start a request and see the response here!