- Get an account-level template
Get account-level templates
Create an account-level template
Delete all account-level templates
Get all account-level template versions
Create an account-level template version
Update an account-level template
Delete an account-level template
Get an account-level template version
Update an account-level template version
Delete an account-level template version
Copy a template
Copy an account-level template version
Rename a template
Get an account-level temp...
Returns metadata information about the stored account-level template. If the active flag is provided, the content of the active version of the template is returned.
Security
basicAuth
- US Mailgunhttps://api.mailgun.net/v4/templates/{template_name}
- EU Mailgunhttps://api.eu.mailgun.net/v4/templates/{template_name}
curl -i -X GET \
-u '<username>:<password>' \
'https://api.mailgun.net/v4/templates/{template_name}?active=string'Response
{ "template": { "name": "template_name", "description": "This is the description of the template", "createdAt": "Sat, 12 Nov 1955 06:38:00 UTC", "createdBy": "user-supplied-value", "id": "46565d87-68b6-4edb-8b3c-34554af4bb77", "domain": "header.tld", "version": { … } } }