Sign in

Validate a template

documented

Validate a template's syntax/structure.

POST /templates/validateTemplatesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.postmarkapp.com/templates/validate" \
  -X POST \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "X-Postmark-Server-Token: {{POSTMARKAPP_API_KEY}}" \
  -d '{"Subject": "{{$subject}}", "HtmlBody": "{{$htmlBody}}", "TextBody": "{{$textBody}}", "TestRenderModel": {"userName": "{{$userName}}"}, "TemplateType": "{{$templateType}}", "LayoutTemplate": "{{$layoutTemplate}}"}'