Create or overwrite a template from HTML

The method allows creating a template in the user's project from ready-made HTML and CSS. If templateId is specified, the existing template of the project is overwritten with the given content. The template is editable in Stripo Editor in the same way as a template imported from HTML in the account. If the plan limit for templates is reached, the request will be rejected.

Body Params
string
required

HTML code of the template

string

CSS code of the template

string
required

The name of the template

int64

The ID of the folder where the template should be placed. If not specified, the template will be created in the root folder

int64

The ID of an existing template of the project to overwrite. If not specified, a new template is created

Headers
string

Authentication token

Response

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