Template API
The Template API allows you to manage all your document templates programmatically, without having to log in to your Super Markdown workspace via the web interface.
A template is a reusable document model that standardizes content creation by defining a structure, formatting, and potentially dynamic variables.
This API exposes a set of essential operations for manipulating your folders remotely:
| Operation | Description |
|---|---|
| Create | Define a new template from structured Markdown content |
| Edit & Update | Update the structure or content of a template |
| Instantiate | Generate a document from a template with variables |
| Archive | Move the template to the Recycle Bin with the option to restore it if needed |
| Delete | Remove a template (with or without its contents, depending on settings) |
| Listing | Get the list of all available templates |
The main objective of this API is to offer developers the ability to standardize and automate the creation of documents on a large scale, while ensuring visual and structural consistency.
Examples of use cases
Here are some concrete examples of automation made possible by these APIs:
- Product documentation generation: a single template for all product sheets, with variables for name, description, and technical specifications.
- Customized customer reports: automatic generation of weekly reports for hundreds of customers using the same template and variable data.
- Guides and tutorials: reusable structure for all tutorials within the same category (introduction, prerequisites, steps, conclusion).
- Form integration: a document is automatically generated from a predefined template each time a form is submitted.
- There are countless use cases for you to leverage our APIs in your workflow.
Create New Template
Here is a concrete example of an API call to create a new template:
Expected response:
If successful, the API returns a JSON response structured as follows:
Edit & Update existing Template
Get Your Templates
Get Details of a specific Template
Create new Document from Template
Archive existing Template
Restores archived Template
Delete permanently existing Template
What's Next ?
- LLM Integration : Getting Started with LLM Integration
- AI Agent Support : Getting Started with AI Agent Support
- Fréquents Questions : A collection of frequently asked questions related to the platform
- Integration with GitHub : Super Markdown offering GitHub users an additional presentation layer.
Need help ? Our team is here to support you. Contact us or check our FAQ.

