Sign in

Create template

documented

Create a template for a domain.

POST /v3/{domain_name}/templatesTemplatesno 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' \
  -X POST \
  -u 'api:{{MAILGUN_API_KEY}}' \
  -H 'Accept: application/json' \
  -F 'name={{$template_name}}' \
  -F 'description={{$template_description}}' \
  -F 'template={{$template_body}}' \
  -F 'tag={{$template_tag}}' \
  -F 'createdBy={{$template_created_by}}' \
  -F 'headers={{$template_headers}}' \
  -F 'comment={{$template_comment}}'
Create template · mailgun · OpenIntegrations