Sign in

Edit a template

documented

Update a template.

PUT /templates/{templateIdOrAlias}Templatesno 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/{{$templateIdOrAlias}}" \
  -X PUT \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "X-Postmark-Server-Token: {{POSTMARKAPP_SERVER_TOKEN}}" \
  -d '{"Name": "{{$name}}", "Subject": "{{$subject}}", "HtmlBody": "{{$htmlBody}}", "TextBody": "{{$textBody}}", "Alias": "{{$alias}}", "LayoutTemplate": "{{$layoutTemplate}}"}'
Edit a template · Postmark · OpenIntegrations