- Rendering Context
Management
Content
Syntax
List template descriptors
Create template descriptor
Delete template descriptor
Get template descriptor
Update template descriptor
List template versions for descriptor
List all template versions (Deprecated)
Create template version
Export all template descriptors and versions
Import exported template descriptors and versions
Get template version
Update template version
Activate template version
Render template version preview
Render template version
List context vars for template version
List all template versions (v2)
Delete template version (no longer supported)
Rendering Context
When a template is rendered, context variables are passed into the template. If a template looks like:
Hello {{foo}}, your loan is due on {{bar}}.then the context variables in the template are foo and bar. If, when the template is rendered, the provided context is:
{
"foo": "John",
"bar": "2021-01-01"
}...then the rendered template will be:
Hello John, your loan is due on 2021-01-01.