A lightweight API for rendering and delivering beautifully designed, email-client-safe HTML templates — built for NJMTech projects.
API Reference
/
Health check — returns this page confirming the service is up.
/preview/:template
Render a default template with sample data, or keep using the optional client query param.
/preview/:client/:template
Render a client-specific template preview directly by namespace.
/template
Render a template as HTML. Body: client (optional), template_name, first_name, last_name + template vars.
/openapi.json
Machine-readable OpenAPI document for the service.
/docs
Interactive API docs powered by the OpenAPI document.
Available Templates
NJMTech
Preview route:
/preview/:template
Contact Notification
contact_notification
Preview NJMTech
Contact Confirmation
contact_confirmation
Preview NJMTech
Subscribe Welcome
subscribe_welcome
Preview NJMTech
Thank You
thank_you
Preview NJMTech
Style & Grace
Preview route:
/preview/style-and-grace/:template
Contact Notification
contact_notification
Preview Style & Grace
Contact Confirmation
contact_confirmation
Preview Style & Grace
Subscribe Welcome
subscribe_welcome
Preview Style & Grace
Thank You
thank_you
Preview Style & Grace
Preview