NJM Email Template API njmtech.co.za ↗
v1.0

Transactional emails,
done right

A lightweight API for rendering and delivering beautifully designed, email-client-safe HTML templates — built for NJMTech projects.

GET

/

Health check — returns this page confirming the service is up.

GET

/preview/:template

Render a default template with sample data, or keep using the optional client query param.

GET

/preview/:client/:template

Render a client-specific template preview directly by namespace.

POST

/template

Render a template as HTML. Body: client (optional), template_name, first_name, last_name + template vars.

GET

/openapi.json

Machine-readable OpenAPI document for the service.

GET

/docs

Interactive API docs powered by the OpenAPI document.

NJMTech

Preview route: /preview/:template

default

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

style-and-grace

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