Sign in

Send email with template

documented

Send a message using a hosted template (TemplateId or TemplateAlias) with TemplateModel.

POST /email/withTemplateTemplatesno 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/email/withTemplate" \
  -X POST \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "X-Postmark-Server-Token: {{POSTMARKAPP_API_KEY}}" \
  -d '{"From": "{{$from}}", "To": "{{$to}}", "TemplateId": {{$template_id}}, "TemplateModel": {"user_name": "{{$user_name}}"}}'
Send email with template · Postmark · OpenIntegrations