Validate a template
documentedValidate a template's syntax/structure.
POST /templates/validateTemplatesno implementation yet0 runsNo 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}}"}'