DocMiral icon

DocMiral

Interact with the DocMiral document generation platform

Template → Create

AI-generated

Summary

Create a new template in DocMiral with specified name, category ID, initial HTML content, and JSON settings.

Inputs

  • Name — Template name. Use "suggest" to auto-generate a name.
  • Category ID — Category ID to which the template belongs.
  • HTML — Initial HTML content for the template.
  • Settings (JSON) — JSON object of template settings including size, margin, padding, background, color, fontSize, and fonts.

Output shape

a single JSON object representing the created template

The output returns the API response containing the details of the newly created template. If multiple items are processed, each result is paired with its input item index.

Links

Discussion