This API request allows you begin the process of registering new HTML template. With this request you can process HTML template, variables and information about tables in the template will be returned to you, template will be uploaded to the storage for further steps.
NOTE: only users with 'EDITOR' and 'ADMIN' roles are capable to execute this request.

Rules for data:

  1. ZIP archive must contain one HTML template besides with fonts with images (if they used in template). Images (PNG and JPEG are supported) must be located in template/img/ folder in archive and fonts (TTF and OFT are supported) in template/fonts/ folder. Also you can save fonts and images in HTML template in the format of Base64 strings.

Response status codes:
201 - template has been saved, you can review result
400 - you sent invalid data
401 - you are not authorized
500 - if unhandled and unexpected exception happened

Language
Authorization
OAuth2
Click Try It! to start a request and see the response here!