Sign in

Create template version

documented

Create a new version of a template.

POST /v3/{domain_name}/templates/{template_name}/versionsTemplatesno 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.mailgun.net/v3/{{$domain_name}}/templates/{{$template_name}}/versions" \
  -X POST \
  -u "api:{{MAILGUN_API_KEY}}" \
  -H "Accept: application/json" \
  -F "template={{$template_content}}" \
  -F "tag={{$tag}}" \
  -F "comment={{$comment}}" \
  -F "active={{$active}}" \
  -F 'headers={"From": "{{$from}}", "Subject": "{{$subject}}", "Reply-To": "{{$reply_to}}"}'
Create template version · mailgun · OpenIntegrations