{"id":23348,"date":"2022-03-21T00:00:00","date_gmt":"2022-03-21T00:00:00","guid":{"rendered":"https:\/\/www.mailgun.com\/blog\/erste-schritte-email-vorlagen-api\/"},"modified":"2026-09-16T06:15:35","modified_gmt":"2026-09-16T06:15:35","slug":"erste-schritte-email-vorlagen-api","status":"publish","type":"blog","link":"https:\/\/www.mailgun.com\/de\/blog\/product\/erste-schritte-email-vorlagen-api\/","title":{"rendered":"Werden Sie mit unserer Vorlagen-API zum E-Mail-Profi"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Email templates are the secret sauce for producing consistent and scalable email campaigns.\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\">At Mailgun, we\u2019ve made several <a href=\"https:\/\/help.mailgun.com\/hc\/en-us\/articles\/360021380793-What-s-Up-with-Mailgun-Templates-\" target=\"_tabs\" rel=\"noopener noreferrer\"><u>responsive email templates<\/u><\/a> available through our user interface. These HTML files contain modular code blocks that define your emails\u2019 look and feel.\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\">We\u2019ve also published <a href=\"https:\/\/www.mailgun.com\/de\/blog\/email\/transaktions-html-e-mail-vorlagen\/\" target=\"_tabs\" rel=\"noopener noreferrer\"><u>open-source templates<\/u><\/a> on GitHub to cover your everyday email needs. All you need to do is add your email content.<\/p>\n\n<p class=\"wp-block-paragraph\">But what if you already have a template or need more customization beyond our plug-and-play designs? You can now use our <a href=\"https:\/\/documentation.mailgun.com\/en\/latest\/api-templates.html\" target=\"_tabs\" rel=\"noopener noreferrer\"><u>Templates API<\/u><\/a> to bring your own email templates to your Mailgun account.<\/p>\n\n<p class=\"wp-block-paragraph\">Below, we\u2019ll discuss where to find an email template, how to upload your template to Mailgun via the Templates API, and some best practices.<\/p>\n\r\n    <nav data-content-type=\"longform\" class=\"toc-block longform-spacings px-5 py-6 px-md-6 px-lg-7 py-md-7 bg-light fs-sm rounded-lg\" aria-labelledby=\"toc-title-6540\"><p class=\"h5 m-0\" id=\"toc-title-6540\">Inhaltsverzeichnis<\/p><div class=\"d-flex mt-3\"><div class=\"w-auto fw-bold text-accent d-flex me-2\">01<\/div><div class=\"d-flex flex-column\"><a class=\"fw-bold scrollme link-body-color text-accent\" href=\"#what-are-the-benefits-of-email-templates\">What are the benefits of email templates?<\/a><\/div><\/div><div class=\"d-flex mt-3\"><div class=\"w-auto fw-bold text-accent d-flex me-2\">02<\/div><div class=\"d-flex flex-column\"><a class=\"fw-bold scrollme link-body-color text-accent\" href=\"#what-are-some-types-of-email-templates\">What are some types of email templates?<\/a><\/div><\/div><div class=\"d-flex mt-3\"><div class=\"w-auto fw-bold text-accent d-flex me-2\">03<\/div><div class=\"d-flex flex-column\"><a class=\"fw-bold scrollme link-body-color text-accent\" href=\"#where-can-i-find-email-templates\">Where can I find email templates?<\/a><\/div><\/div><div class=\"d-flex mt-3\"><div class=\"w-auto fw-bold text-accent d-flex me-2\">04<\/div><div class=\"d-flex flex-column\"><a class=\"fw-bold scrollme link-body-color text-accent\" href=\"#how-do-i-get-started-with-the-templates-api\">How do I get started with the Templates API?<\/a><\/div><\/div><div class=\"d-flex mt-3\"><div class=\"w-auto fw-bold text-accent d-flex me-2\">05<\/div><div class=\"d-flex flex-column\"><a class=\"fw-bold scrollme link-body-color text-accent\" href=\"#how-do-i-store-a-template-and-initialize-at-the-same-time\">How do I store a template and initialize at the same time?<\/a><\/div><\/div><div class=\"d-flex mt-3\"><div class=\"w-auto fw-bold text-accent d-flex me-2\">06<\/div><div class=\"d-flex flex-column\"><a class=\"fw-bold scrollme link-body-color text-accent\" href=\"#how-do-i-store-a-template-and-then-initialize-it-separately\">How do I store a template and then initialize it separately?<\/a><a class=\"scrollme link-body-color\" href=\"#store-a-templates-metadata\">Store a template\u2019s metadata<\/a><a class=\"scrollme link-body-color\" href=\"#store-a-version-of-the-template\">Store a version of the template<\/a><\/div><\/div><div class=\"d-flex mt-3\"><div class=\"w-auto fw-bold text-accent d-flex me-2\">07<\/div><div class=\"d-flex flex-column\"><a class=\"fw-bold scrollme link-body-color text-accent\" href=\"#why-do-i-need-to-create-versions-of-a-template\">Why do I need to create versions of a template?<\/a><\/div><\/div><div class=\"d-flex mt-3\"><div class=\"w-auto fw-bold text-accent d-flex me-2\">08<\/div><div class=\"d-flex flex-column\"><a class=\"fw-bold scrollme link-body-color text-accent\" href=\"#so-what-about-sending\">So, what about sending?<\/a><\/div><\/div><div class=\"d-flex mt-3\"><div class=\"w-auto fw-bold text-accent d-flex me-2\">09<\/div><div class=\"d-flex flex-column\"><a class=\"fw-bold scrollme link-body-color text-accent\" href=\"#how-do-i-send-a-specific-version-of-a-template\">How do I send a specific version of a template?<\/a><\/div><\/div><div class=\"d-flex mt-3\"><div class=\"w-auto fw-bold text-accent d-flex me-2\">10<\/div><div class=\"d-flex flex-column\"><a class=\"fw-bold scrollme link-body-color text-accent\" href=\"#wrapping-up\">Wrapping up<\/a><\/div><\/div><\/nav>\n<h2 class=\"wp-block-heading\">What are the benefits of email templates?<\/h2>\n\n<p class=\"wp-block-paragraph\">Email templates are HTML files that contain reusable code that makes building email campaigns a breeze. Instead of writing and testing new code each time, you can just cut and paste text, image URLs, and links into an existing template to produce a new campaign.<\/p>\n\n<p class=\"wp-block-paragraph\">Key benefits include:<\/p>\n\n<ul class=\"wp-block-list\">\n<li><b>Efficiency: <\/b>Skip reinventing the wheel, and simply paste your email content into the template and go.<\/li>\n\n\n\n<li><b>Consistency: <\/b>Maintain an on-brand look and feel throughout all of your emails by using the same code.<\/li>\n\n\n\n<li><b>Scaling: <\/b>Enable non-technical team members to create email campaigns by decreasing the reliance on developers to design campaigns one by one.<\/li>\n<\/ul>\n\n<p class=\"wp-block-paragraph\">In short, email templates do the heavy lifting of creating new email formats for your campaigns.<\/p>\n\n<h2 class=\"wp-block-heading\">What are some types of email templates?<\/h2>\n\n<p class=\"wp-block-paragraph\">But there are so many templates \u2013 how can you know which one is the right one? Below, we\u2019ve identified three main types of email templates and provided a brief description of the needs they meet:<\/p>\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.mailgun.com\/de\/resources\/tools\/email-templates\/email-blast-templates\/\" target=\"_tabs\" rel=\"noopener noreferrer\"><u><b>Email blasts<\/b><\/u><\/a><b> <\/b>are one-off marketing campaigns sent to most of your users.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.mailgun.com\/de\/ressourcen\/tools\/email-vorlagen\/transaktions-e-mail-vorlagen\/\" target=\"_tabs\" rel=\"noopener noreferrer\"><u><b>Transactional emails<\/b><\/u><\/a><i><b> <\/b><\/i>are messages triggered by user actions on your site, such as creating an account, purchasing something, or requesting a new password.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.mailgun.com\/de\/ressourcen\/tools\/email-vorlagen\/e-mail-newsletter-vorlagen\/\" target=\"_tabs\" rel=\"noopener noreferrer\"><u><b>Email newsletters<\/b><\/u><\/a><b> <\/b>are recurring conversations between your brand and your subscribers. Send emails like these to keep your users engaged.<\/li>\n<\/ul>\n\n<h2 class=\"wp-block-heading\">Where can I find email templates?<\/h2>\n\n<p class=\"wp-block-paragraph\">In case you don\u2019t want to upload your own email templates, here\u2019s a list of free Mailgun templates:<\/p>\n\n<ul class=\"wp-block-list\">\n<li>Choose from <a href=\"https:\/\/www.mailgun.com\/de\/ressourcen\/tools\/email-vorlagen\/\" target=\"_tabs\" rel=\"noopener noreferrer\"><u>six existing templates<\/u><\/a> on our user interface.<\/li>\n\n\n\n<li>Fork <a href=\"https:\/\/github.com\/mailgun\/transactional-email-templates\" target=\"_tabs\" rel=\"noopener noreferrer\"><u>transactional email templates<\/u><\/a> from our Github repository.<\/li>\n\n\n\n<li>Check out the <a href=\"https:\/\/www.emailonacid.com\/resource\/emailology-responsive-email-template\/\" target=\"_tabs\" rel=\"noopener noreferrer\"><u>free HTML templates<\/u><\/a> at Email on Acid.\u00a0<\/li>\n<\/ul>\n\n<p class=\"wp-block-paragraph\">You can use our templates as-is or inspiration to create a new template. Then, you can upload your templates to your Mailgun account via the Templates API. <\/p>\n\n<h2 class=\"wp-block-heading\">How do I get started with the Templates API?<\/h2>\n\n<p class=\"wp-block-paragraph\">Before uploading your email template, you must have a <a href=\"https:\/\/app.mailgun.com\/sessions\/new\" target=\"_tabs\" rel=\"noopener noreferrer\"><u>Mailgun account<\/u><\/a> and a verified domain in our system. In addition, note that we currently only support the <a href=\"https:\/\/handlebarsjs.com\/\" target=\"_tabs\" rel=\"noopener noreferrer\"><u>Handlebars<\/u><\/a> template engine, which is a popular choice for email design.<\/p>\n\n<p class=\"wp-block-paragraph\">Below, we\u2019ll walk through two ways to store and initialize a template. Then, we\u2019ll talk about versioning your templates and sending test emails to check if your template is stored correctly.\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\">Our Templates API is part of Mailgun\u2019s powerful Email API. You can access our Templates API at the following endpoint: <code>\/templates<\/code>. Check out our <a href=\"https:\/\/documentation.mailgun.com\/en\/latest\/api-templates.html\" target=\"_tabs\" rel=\"noopener noreferrer\"><u>API reference docs for the Templates API<\/u><\/a> for more detailed information.<\/p>\n\n<h2 class=\"wp-block-heading\">How do I store a template and initialize at the same time?<\/h2>\n\n<p class=\"wp-block-paragraph\">Let\u2019s get started with storing your template in your Mailgun account.\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\">First, let\u2019s try storing a template with an initial active version by issuing a POST request to the Templates API endpoint. This stores the template\u2019s metadata as well as its content.<\/p>\n    <div data-content-type=\"longform\" class=\"code-snippet longform-spacings rounded-lg overflow-hidden shadow \" data-count=\"1\">\r\n        <ul class=\"nav nav-buttons code-snippet__tabs longform-except position-relative d-flex gap-2 flex-wrap p-3\" role=\"tablist\">\r\n\r\n                            \r\n                    \r\n                        <li class=\"nav-item\" role=\"presentation\">\r\n                            <button class=\"nav-link active\" data-bs-toggle=\"tab\" data-bs-target=\"#code_0\" type=\"button\" role=\"tab\" aria-controls=\"code_0\" aria-selected=\"true\">\r\n                                Shell                            <\/button>\r\n                        <\/li>\r\n\r\n                    \r\n                            \r\n        <\/ul>\r\n        <div class=\"code-snippet__tab-content tab-content\">\r\n\r\n                            \r\n                    <div class=\"tab-pane show active\" id=\"code_0\" role=\"tabpanel\" aria-labelledby=\"code_0\">\r\n                        <div class=\"code-snippet__code-wrapper\">\r\n                            <div class=\"nav nav-buttons code-snippet__copy-wrapper\">\r\n                                <button type=\"button\" class=\"nav-link code-snippet__copy\" data-clipboard-target=\"#code_0_content\" data-clipboard-label=\"In die Zwischenablage kopieren\" data-clipboard-success-label=\"Kopiert\" data-clipboard-error-label=\"Kopieren nicht m\u00f6glich\" data-tooltip=\"In die Zwischenablage kopieren\" data-tooltip-placement=\"left\" role=\"tooltip\" aria-label=\"In die Zwischenablage kopieren\">\r\n                                    <svg class=\"code-snippet__copy-icon code-snippet__copy-icon--default\" width=\"24\" height=\"24\" aria-hidden=\"true\" data-url=\"https:\/\/www.mailgun.com\/wp-content\/plugins\/sinch-core\/assets\/icons\/sinch\/file-stack.svg\"><\/svg>\r\n                                    <svg class=\"code-snippet__copy-icon code-snippet__copy-icon--success\" width=\"24\" height=\"24\" aria-hidden=\"true\" data-url=\"https:\/\/www.mailgun.com\/wp-content\/plugins\/sinch-core\/assets\/icons\/sinch\/badge-check.svg\"><\/svg>\r\n                                <\/button>\r\n                            <\/div>\r\n                            <pre class=\"w-100 h-100 m-0 line-numbers language-shell\">\r\n                                <code id=\"code_0_content\" class=\"language-shell\">\r\n\r\n                                    curl -X POST https:\/\/api.mailgun.net\/v3\/example.com\/templates \r\n      -F name=&quot;billing&quot; \r\n      -F description=&quot;template description&quot; -F tag=&quot;v0&quot; \r\n      -F template=\u201dtemplate contents\u201d\r\n\r\n                                <\/code>\r\n                            <\/pre>\r\n                        <\/div>\r\n                    <\/div>\r\n                                    <\/div>\r\n    <\/div>\r\n\n<p class=\"wp-block-paragraph\">In this request, the <b>name<\/b>, <b>tag<\/b>, and <b>template<\/b> parameters are required. The <b>name<\/b> parameter indicates the template name, used to reference the template in other API calls. The <b>tag<\/b> parameter identifies the specific version of this template. Versioning is beneficial in email campaigns, which we\u2019ll discuss more below. The <b>template<\/b> parameter specifies the template content itself. Here, you can paste the template\u2019s HTML content directly into the request.<\/p>\n\n<p class=\"wp-block-paragraph\">But what if your template is stored on your local disc? The sample request below shows how to pull the template contents from a file. For this example, let\u2019s assume your template is saved locally as billing.html.<\/p>\n    <div data-content-type=\"longform\" class=\"code-snippet longform-spacings rounded-lg overflow-hidden shadow \" data-count=\"1\">\r\n        <ul class=\"nav nav-buttons code-snippet__tabs longform-except position-relative d-flex gap-2 flex-wrap p-3\" role=\"tablist\">\r\n\r\n                            \r\n                    \r\n                        <li class=\"nav-item\" role=\"presentation\">\r\n                            <button class=\"nav-link active\" data-bs-toggle=\"tab\" data-bs-target=\"#code_0\" type=\"button\" role=\"tab\" aria-controls=\"code_0\" aria-selected=\"true\">\r\n                                Shell                            <\/button>\r\n                        <\/li>\r\n\r\n                    \r\n                            \r\n        <\/ul>\r\n        <div class=\"code-snippet__tab-content tab-content\">\r\n\r\n                            \r\n                    <div class=\"tab-pane show active\" id=\"code_0\" role=\"tabpanel\" aria-labelledby=\"code_0\">\r\n                        <div class=\"code-snippet__code-wrapper\">\r\n                            <div class=\"nav nav-buttons code-snippet__copy-wrapper\">\r\n                                <button type=\"button\" class=\"nav-link code-snippet__copy\" data-clipboard-target=\"#code_0_content\" data-clipboard-label=\"In die Zwischenablage kopieren\" data-clipboard-success-label=\"Kopiert\" data-clipboard-error-label=\"Kopieren nicht m\u00f6glich\" data-tooltip=\"In die Zwischenablage kopieren\" data-tooltip-placement=\"left\" role=\"tooltip\" aria-label=\"In die Zwischenablage kopieren\">\r\n                                    <svg class=\"code-snippet__copy-icon code-snippet__copy-icon--default\" width=\"24\" height=\"24\" aria-hidden=\"true\" data-url=\"https:\/\/www.mailgun.com\/wp-content\/plugins\/sinch-core\/assets\/icons\/sinch\/file-stack.svg\"><\/svg>\r\n                                    <svg class=\"code-snippet__copy-icon code-snippet__copy-icon--success\" width=\"24\" height=\"24\" aria-hidden=\"true\" data-url=\"https:\/\/www.mailgun.com\/wp-content\/plugins\/sinch-core\/assets\/icons\/sinch\/badge-check.svg\"><\/svg>\r\n                                <\/button>\r\n                            <\/div>\r\n                            <pre class=\"w-100 h-100 m-0 line-numbers language-shell\">\r\n                                <code id=\"code_0_content\" class=\"language-shell\">\r\n\r\n                                    curl -X POST https:\/\/api.mailgun.net\/v3\/example.com\/templates \r\n      -F name=&quot;billing&quot; \r\n      -F description=&quot;template description&quot; -F tag=&quot;v0&quot; \r\n      -F template=&lt;code data-enlighter-language=&quot;generic&quot; class=&quot;EnlighterJSRAW&quot;&gt;content from file billing.html&lt;\/code&gt;\r\n\r\n                                <\/code>\r\n                            <\/pre>\r\n                        <\/div>\r\n                    <\/div>\r\n                                    <\/div>\r\n    <\/div>\r\n\n<p class=\"wp-block-paragraph\">As in the first example, this requires the <b>name<\/b>, <b>template<\/b>, and <b>tag<\/b> parameters.<\/p>\n\n<h2 class=\"wp-block-heading\">How do I store a template and then initialize it separately?<\/h2>\n\n<p class=\"wp-block-paragraph\">Alternatively, you can store a template in two steps:<\/p>\n\n<ol class=\"wp-block-list\">\n<li>Store a template\u2019s metadata.<\/li>\n\n\n\n<li>Store a version of the template.<\/li>\n<\/ol>\n\n<p class=\"wp-block-paragraph\">When you store a template without using the <b>tag<\/b> parameter to add a version number or the <b>template <\/b>parameter to provide the template content, you record the template\u2019s metadata within your Mailgun account. Your template isn\u2019t active at this time, but is instead stored for later.<\/p>\n\n<p class=\"wp-block-paragraph\">To make your template active, you need to update the stored template metadata by providing the template content in another request. This creates the first version, v0, of your template.<\/p>\n\n<h3 class=\"wp-block-heading\">Store a template\u2019s metadata<\/h3>\n\n<p class=\"wp-block-paragraph\">Use the following request to store a template\u2019s metadata without initializing.<\/p>\n    <div data-content-type=\"longform\" class=\"code-snippet longform-spacings rounded-lg overflow-hidden shadow \" data-count=\"1\">\r\n        <ul class=\"nav nav-buttons code-snippet__tabs longform-except position-relative d-flex gap-2 flex-wrap p-3\" role=\"tablist\">\r\n\r\n                            \r\n                    \r\n                        <li class=\"nav-item\" role=\"presentation\">\r\n                            <button class=\"nav-link active\" data-bs-toggle=\"tab\" data-bs-target=\"#code_0\" type=\"button\" role=\"tab\" aria-controls=\"code_0\" aria-selected=\"true\">\r\n                                Shell                            <\/button>\r\n                        <\/li>\r\n\r\n                    \r\n                            \r\n        <\/ul>\r\n        <div class=\"code-snippet__tab-content tab-content\">\r\n\r\n                            \r\n                    <div class=\"tab-pane show active\" id=\"code_0\" role=\"tabpanel\" aria-labelledby=\"code_0\">\r\n                        <div class=\"code-snippet__code-wrapper\">\r\n                            <div class=\"nav nav-buttons code-snippet__copy-wrapper\">\r\n                                <button type=\"button\" class=\"nav-link code-snippet__copy\" data-clipboard-target=\"#code_0_content\" data-clipboard-label=\"In die Zwischenablage kopieren\" data-clipboard-success-label=\"Kopiert\" data-clipboard-error-label=\"Kopieren nicht m\u00f6glich\" data-tooltip=\"In die Zwischenablage kopieren\" data-tooltip-placement=\"left\" role=\"tooltip\" aria-label=\"In die Zwischenablage kopieren\">\r\n                                    <svg class=\"code-snippet__copy-icon code-snippet__copy-icon--default\" width=\"24\" height=\"24\" aria-hidden=\"true\" data-url=\"https:\/\/www.mailgun.com\/wp-content\/plugins\/sinch-core\/assets\/icons\/sinch\/file-stack.svg\"><\/svg>\r\n                                    <svg class=\"code-snippet__copy-icon code-snippet__copy-icon--success\" width=\"24\" height=\"24\" aria-hidden=\"true\" data-url=\"https:\/\/www.mailgun.com\/wp-content\/plugins\/sinch-core\/assets\/icons\/sinch\/badge-check.svg\"><\/svg>\r\n                                <\/button>\r\n                            <\/div>\r\n                            <pre class=\"w-100 h-100 m-0 line-numbers language-shell\">\r\n                                <code id=\"code_0_content\" class=\"language-shell\">\r\n\r\n                                    curl -X POST https:\/\/api.mailgun.net\/v3\/example.com\/templates \r\n      -F name=&quot;billing&quot;\r\n      -F description = &quot;description of your template&quot;\r\n                                <\/code>\r\n                            <\/pre>\r\n                        <\/div>\r\n                    <\/div>\r\n                                    <\/div>\r\n    <\/div>\r\n\n<p class=\"wp-block-paragraph\">The <b>name<\/b> parameter is required.<\/p>\n\n<h3 class=\"wp-block-heading\">Store a version of the template<\/h3>\n\n<p class=\"wp-block-paragraph\">Use the following request to store a version of a template after you\u2019ve created a record of the template\u2019s metadata. Once again, let\u2019s assume that the template\u2019s content is stored on your local disc as billing.html. We\u2019ve used Python in the example below.<\/p>\n    <div data-content-type=\"longform\" class=\"code-snippet longform-spacings rounded-lg overflow-hidden shadow \" data-count=\"1\">\r\n        <ul class=\"nav nav-buttons code-snippet__tabs longform-except position-relative d-flex gap-2 flex-wrap p-3\" role=\"tablist\">\r\n\r\n                            \r\n                    \r\n                        <li class=\"nav-item\" role=\"presentation\">\r\n                            <button class=\"nav-link active\" data-bs-toggle=\"tab\" data-bs-target=\"#code_0\" type=\"button\" role=\"tab\" aria-controls=\"code_0\" aria-selected=\"true\">\r\n                                Python                            <\/button>\r\n                        <\/li>\r\n\r\n                    \r\n                            \r\n        <\/ul>\r\n        <div class=\"code-snippet__tab-content tab-content\">\r\n\r\n                            \r\n                    <div class=\"tab-pane show active\" id=\"code_0\" role=\"tabpanel\" aria-labelledby=\"code_0\">\r\n                        <div class=\"code-snippet__code-wrapper\">\r\n                            <div class=\"nav nav-buttons code-snippet__copy-wrapper\">\r\n                                <button type=\"button\" class=\"nav-link code-snippet__copy\" data-clipboard-target=\"#code_0_content\" data-clipboard-label=\"In die Zwischenablage kopieren\" data-clipboard-success-label=\"Kopiert\" data-clipboard-error-label=\"Kopieren nicht m\u00f6glich\" data-tooltip=\"In die Zwischenablage kopieren\" data-tooltip-placement=\"left\" role=\"tooltip\" aria-label=\"In die Zwischenablage kopieren\">\r\n                                    <svg class=\"code-snippet__copy-icon code-snippet__copy-icon--default\" width=\"24\" height=\"24\" aria-hidden=\"true\" data-url=\"https:\/\/www.mailgun.com\/wp-content\/plugins\/sinch-core\/assets\/icons\/sinch\/file-stack.svg\"><\/svg>\r\n                                    <svg class=\"code-snippet__copy-icon code-snippet__copy-icon--success\" width=\"24\" height=\"24\" aria-hidden=\"true\" data-url=\"https:\/\/www.mailgun.com\/wp-content\/plugins\/sinch-core\/assets\/icons\/sinch\/badge-check.svg\"><\/svg>\r\n                                <\/button>\r\n                            <\/div>\r\n                            <pre class=\"w-100 h-100 m-0 line-numbers language-Python\">\r\n                                <code id=\"code_0_content\" class=\"language-Python\">\r\n\r\n                                    import requests \r\n\r\ncontent = None\r\nwith open(&quot;\/path_to_file\/billing.html&quot;, &#039;r&#039;) as f:\r\n\tcontent = f.read()\r\n\r\nrequests.post(&quot;https:\/\/api\/mailgiun.net\/v3\/example.com\/templates\/billing\/versions&quot;,\r\n                       auth=(&#039;api&#039;: &quot;key&quot;),\r\n                       data={&quot;tag&quot;: &quot;v0&quot;,\r\n                                 &quot;comment&quot;: &quot;version comment&quot;,\r\n                                 &quot;template&quot;: content})\r\n                                <\/code>\r\n                            <\/pre>\r\n                        <\/div>\r\n                    <\/div>\r\n                                    <\/div>\r\n    <\/div>\r\n\n<p class=\"wp-block-paragraph\">Your template is now active since you\u2019ve provided the template\u2019s content and version number.<\/p>\n\n<h2 class=\"wp-block-heading\">Why do I need to create versions of a template?<\/h2>\n\n<p class=\"wp-block-paragraph\">For your template to be active, you need to have at least one version. The initial version is named \u201cv0\u201d in the <b>tag<\/b> parameter of the examples above. But, sometimes, it\u2019s helpful to have multiple versions of a template.<\/p>\n\n<p class=\"wp-block-paragraph\">For instance, you can use multiple versions to:<\/p>\n\n<ul class=\"wp-block-list\">\n<li>Provide information or product updates.<\/li>\n\n\n\n<li>Conduct user experience research on copy, design elements, or calls to action.<\/li>\n\n\n\n<li>Adapt emails to fit evolving campaign needs.<\/li>\n<\/ul>\n\n<p class=\"wp-block-paragraph\">Keep in mind, you must always have one active version of a template. Emails use this active version unless otherwise specified. By default, the active version is the first version you store when you upload your template.<\/p>\n\n<p class=\"wp-block-paragraph\">As shown below, you can update the active version to a new version with a simple PUT request using the Templates API endpoint. For this example, let\u2019s assume there are two versions of your template, v0 and v1, and that v0 is currently active.<\/p>\n\n<h2 class=\"wp-block-heading\">So, what about sending?<\/h2>\n\n<p class=\"wp-block-paragraph\">Now that we\u2019ve added your template to your account, let\u2019s use Mailgun\u2019s Messages API to send a test email. We could just render a message, but sending a test message allows you to see if your variable information is working as it should. Note that you need to make sure you\u2019re attaching your data correctly for variable information to work. How you do this depends on whether you\u2019re <a href=\"https:\/\/documentation.mailgun.com\/en\/latest\/user_manual.html#attaching-data-to-messages\" target=\"_tabs\" rel=\"noopener noreferrer\"><u>sending via SMTP or API<\/u><\/a>.<\/p>\n\n<p class=\"wp-block-paragraph\">Let\u2019s send a test message with a POST request using recipient variables in a JSON object. We\u2019ll use Mailgun\u2019s <a href=\"https:\/\/documentation.mailgun.com\/en\/latest\/api-sending.html\" target=\"_tabs\" rel=\"noopener noreferrer\"><u>Messages API<\/u><\/a> to do this.<\/p>\n    <div data-content-type=\"longform\" class=\"code-snippet longform-spacings rounded-lg overflow-hidden shadow \" data-count=\"1\">\r\n        <ul class=\"nav nav-buttons code-snippet__tabs longform-except position-relative d-flex gap-2 flex-wrap p-3\" role=\"tablist\">\r\n\r\n                            \r\n                    \r\n                        <li class=\"nav-item\" role=\"presentation\">\r\n                            <button class=\"nav-link active\" data-bs-toggle=\"tab\" data-bs-target=\"#code_0\" type=\"button\" role=\"tab\" aria-controls=\"code_0\" aria-selected=\"true\">\r\n                                Shell                            <\/button>\r\n                        <\/li>\r\n\r\n                    \r\n                            \r\n        <\/ul>\r\n        <div class=\"code-snippet__tab-content tab-content\">\r\n\r\n                            \r\n                    <div class=\"tab-pane show active\" id=\"code_0\" role=\"tabpanel\" aria-labelledby=\"code_0\">\r\n                        <div class=\"code-snippet__code-wrapper\">\r\n                            <div class=\"nav nav-buttons code-snippet__copy-wrapper\">\r\n                                <button type=\"button\" class=\"nav-link code-snippet__copy\" data-clipboard-target=\"#code_0_content\" data-clipboard-label=\"In die Zwischenablage kopieren\" data-clipboard-success-label=\"Kopiert\" data-clipboard-error-label=\"Kopieren nicht m\u00f6glich\" data-tooltip=\"In die Zwischenablage kopieren\" data-tooltip-placement=\"left\" role=\"tooltip\" aria-label=\"In die Zwischenablage kopieren\">\r\n                                    <svg class=\"code-snippet__copy-icon code-snippet__copy-icon--default\" width=\"24\" height=\"24\" aria-hidden=\"true\" data-url=\"https:\/\/www.mailgun.com\/wp-content\/plugins\/sinch-core\/assets\/icons\/sinch\/file-stack.svg\"><\/svg>\r\n                                    <svg class=\"code-snippet__copy-icon code-snippet__copy-icon--success\" width=\"24\" height=\"24\" aria-hidden=\"true\" data-url=\"https:\/\/www.mailgun.com\/wp-content\/plugins\/sinch-core\/assets\/icons\/sinch\/badge-check.svg\"><\/svg>\r\n                                <\/button>\r\n                            <\/div>\r\n                            <pre class=\"w-100 h-100 m-0 line-numbers language-shell\">\r\n                                <code id=\"code_0_content\" class=\"language-shell\">\r\n\r\n                                    curl -X POST https:\/\/api.mailgun.net\/v3\/example.com\/messages \r\n      -F template=&quot;billing&quot; \r\n      -H &quot;X-Mailgun-Variables: {&quot;firstName&quot;: &quot;John&quot;,\r\n&quot;lastName&quot;: &quot;Doe&quot;,\r\n\t&quot;number&quot;: &quot;12345&quot;,\r\n\t&quot;data&quot;:&quot;Mar 01, 2019&quot;,\r\n\t&quot;amount1&quot;: &quot;23.00&quot;,\r\n\t&quot;amount2&quot;: &quot;10.20&quot;,\r\n\t&quot;total&quot;: &quot;33.20&quot;}&quot;\r\n                                <\/code>\r\n                            <\/pre>\r\n                        <\/div>\r\n                    <\/div>\r\n                                    <\/div>\r\n    <\/div>\r\n\n<p class=\"wp-block-paragraph\">If you\u2019ve attached your data properly, the test email should match your rendering with the variables in place.<\/p>\n\n<h2 class=\"wp-block-heading\">How do I send a specific version of a template?<\/h2>\n\n<p class=\"wp-block-paragraph\">We talked about how creating multiple versions of an email template truly superpowers your campaign. But how do you send a specific version of a template?<\/p>\n\n<p class=\"wp-block-paragraph\">By default, emails use the active version of your template. However, it\u2019s pretty simple to configure your email to send a specific version that isn\u2019t active. Use the following flags in your API call: <b>t:version<\/b> and <b>t:text<\/b>.<\/p>\n    <div data-content-type=\"longform\" class=\"code-snippet longform-spacings rounded-lg overflow-hidden shadow \" data-count=\"1\">\r\n        <ul class=\"nav nav-buttons code-snippet__tabs longform-except position-relative d-flex gap-2 flex-wrap p-3\" role=\"tablist\">\r\n\r\n                            \r\n                    \r\n                        <li class=\"nav-item\" role=\"presentation\">\r\n                            <button class=\"nav-link active\" data-bs-toggle=\"tab\" data-bs-target=\"#code_0\" type=\"button\" role=\"tab\" aria-controls=\"code_0\" aria-selected=\"true\">\r\n                                Shell                            <\/button>\r\n                        <\/li>\r\n\r\n                    \r\n                            \r\n        <\/ul>\r\n        <div class=\"code-snippet__tab-content tab-content\">\r\n\r\n                            \r\n                    <div class=\"tab-pane show active\" id=\"code_0\" role=\"tabpanel\" aria-labelledby=\"code_0\">\r\n                        <div class=\"code-snippet__code-wrapper\">\r\n                            <div class=\"nav nav-buttons code-snippet__copy-wrapper\">\r\n                                <button type=\"button\" class=\"nav-link code-snippet__copy\" data-clipboard-target=\"#code_0_content\" data-clipboard-label=\"In die Zwischenablage kopieren\" data-clipboard-success-label=\"Kopiert\" data-clipboard-error-label=\"Kopieren nicht m\u00f6glich\" data-tooltip=\"In die Zwischenablage kopieren\" data-tooltip-placement=\"left\" role=\"tooltip\" aria-label=\"In die Zwischenablage kopieren\">\r\n                                    <svg class=\"code-snippet__copy-icon code-snippet__copy-icon--default\" width=\"24\" height=\"24\" aria-hidden=\"true\" data-url=\"https:\/\/www.mailgun.com\/wp-content\/plugins\/sinch-core\/assets\/icons\/sinch\/file-stack.svg\"><\/svg>\r\n                                    <svg class=\"code-snippet__copy-icon code-snippet__copy-icon--success\" width=\"24\" height=\"24\" aria-hidden=\"true\" data-url=\"https:\/\/www.mailgun.com\/wp-content\/plugins\/sinch-core\/assets\/icons\/sinch\/badge-check.svg\"><\/svg>\r\n                                <\/button>\r\n                            <\/div>\r\n                            <pre class=\"w-100 h-100 m-0 line-numbers language-shell\">\r\n                                <code id=\"code_0_content\" class=\"language-shell\">\r\n\r\n                                    curl -X POST https:\/\/api.mailgun.net\/v3\/example.com\/messages\r\n      -F template=&quot;billing&quot; \r\n      -F t:version=&quot;v1&quot;\r\n      -F t:text=&quot;yes&quot;\r\n\r\n                                <\/code>\r\n                            <\/pre>\r\n                        <\/div>\r\n                    <\/div>\r\n                                    <\/div>\r\n    <\/div>\r\n\n<p class=\"wp-block-paragraph\">The <b>t:version<\/b> flag indicates which version of your template to use. For the <b>t:text <\/b>key-value pair, pass <b>yes<\/b> to render your template in the text part of your email.<\/p>\n\n<h2 class=\"wp-block-heading\">Wrapping up<\/h2>\n\n<p class=\"wp-block-paragraph\">And that\u2019s it! We\u2019ve successfully stored our template in our Mailgun account, tried out versioning, and sent out test emails. Head over to our <a href=\"https:\/\/documentation.mailgun.com\/en\/latest\/api-templates.html\" target=\"_tabs\" rel=\"noopener noreferrer\"><u>docs<\/u><\/a> to fully harness our Templates API.<\/p>\n\n<p class=\"wp-block-paragraph\">If you run into any issues with your templates, send us a support ticket! We\u2019ll reach out as soon as we can.<\/p>\n\n<p class=\"wp-block-paragraph\">Feeling creative? Send us your template designs! Read more about this in<a href=\"https:\/\/www.mailgun.com\/de\/blog\/email\/responsive-email-vorlagen-kreative-ideen\/\" target=\"_tabs\" rel=\"noopener noreferrer\"><u> our blog post<\/u><\/a>.<\/p>\n\r\n    <aside data-content-type=\"longform\"  class=\"banner-block longform-spacings rounded-lg shadow-lg px-5 py-6 px-md-6 py-md-7 p-lg-7 bg-light\" data-theme=\"dark\" aria-labelledby=\"banner-block-block_baf3e5fcfaa713d23b09d88001a4da5a\">\r\n                    <p class=\"text-uppercase section-caption text-body-color\">\r\n                Mailgun&#8217;s Email API            <\/p>\r\n                            <p class=\"h4 text-accent fw-bold\" id=\"banner-block-block_baf3e5fcfaa713d23b09d88001a4da5a\">\r\n                Build emails that drive results            <\/p>\r\n                            <div class=\"mb-0 text-body-color\">\r\n                                    <div class=\"content-body mb-0 text-body-color\">Mailgun&#x27;s API allows you to store predefined templates and use them to send messages using the Sending API.<\/div>\r\n                            <\/div>\r\n        \r\n        <div class=\"text-start mt-5\"><a href=\"https:\/\/signup.mailgun.com\/new\/signup\"  class=\"btn btn-secondary\" >Try Mailgun&#8217;s email API<\/a><\/div>\r\n    <\/aside>\r\n\r\n","protected":false},"excerpt":{"rendered":"<p>Erfahren Sie, wie Sie Ihre E-Mail-Vorlage mit unserer Vorlagen-API zu Mailgun bringen, um Ihre E-Mail-Kampagnen zu optimieren.<\/p>\n","protected":false},"author":13,"featured_media":4555,"menu_order":0,"template":"","meta":{"_acf_changed":false,"footnotes":""},"blog_category":[22],"class_list":["post-23348","blog","type-blog","status-publish","has-post-thumbnail","hentry","blog_category-product"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Werden Sie mit unserer Vorlagen-API zum E-Mail-Profi - Transactional Email API Service For Developers | Mailgun<\/title>\n<meta name=\"description\" content=\"Erfahren Sie, wie Sie Ihre E-Mail-Vorlage mit unserer Vorlagen-API zu Mailgun bringen, um Ihre E-Mail-Kampagnen zu optimieren.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mailgun.com\/de\/blog\/product\/erste-schritte-email-vorlagen-api\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Werden Sie mit unserer Vorlagen-API zum E-Mail-Profi - Transactional Email API Service For Developers | Mailgun\" \/>\n<meta property=\"og:description\" content=\"Erfahren Sie, wie Sie Ihre E-Mail-Vorlage mit unserer Vorlagen-API zu Mailgun bringen, um Ihre E-Mail-Kampagnen zu optimieren.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mailgun.com\/de\/blog\/product\/erste-schritte-email-vorlagen-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Transactional Email API Service For Developers | Mailgun\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-16T06:15:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.mailgun.com\/wp-content\/uploads\/2025\/07\/MG-Blog-Product.png\" \/>\n\t<meta property=\"og:image:width\" content=\"720\" \/>\n\t<meta property=\"og:image:height\" content=\"448\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"7\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/blog\\\/product\\\/erste-schritte-email-vorlagen-api\\\/\",\"url\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/blog\\\/product\\\/erste-schritte-email-vorlagen-api\\\/\",\"name\":\"Werden Sie mit unserer Vorlagen-API zum E-Mail-Profi - Transactional Email API Service For Developers | Mailgun\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/blog\\\/product\\\/erste-schritte-email-vorlagen-api\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/blog\\\/product\\\/erste-schritte-email-vorlagen-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mailgun.com\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/MG-Blog-Product.png\",\"datePublished\":\"2022-03-21T00:00:00+00:00\",\"dateModified\":\"2026-09-16T06:15:35+00:00\",\"description\":\"Erfahren Sie, wie Sie Ihre E-Mail-Vorlage mit unserer Vorlagen-API zu Mailgun bringen, um Ihre E-Mail-Kampagnen zu optimieren.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/blog\\\/product\\\/erste-schritte-email-vorlagen-api\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mailgun.com\\\/de\\\/blog\\\/product\\\/erste-schritte-email-vorlagen-api\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/blog\\\/product\\\/erste-schritte-email-vorlagen-api\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mailgun.com\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/MG-Blog-Product.png\",\"contentUrl\":\"https:\\\/\\\/www.mailgun.com\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/MG-Blog-Product.png\",\"width\":720,\"height\":448},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/blog\\\/product\\\/erste-schritte-email-vorlagen-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Werden Sie mit unserer Vorlagen-API zum E-Mail-Profi\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/#website\",\"url\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/\",\"name\":\"Transactional Email API Service For Developers | Mailgun\",\"description\":\"Leistungsstarke Transaktions-E-Mail-APIs, mit denen Sie E-Mails senden, empfangen und nachverfolgen k\u00f6nnen, speziell f\u00fcr Entwickler konzipiert. Erfahren Sie noch heute mehr!\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/#organization\",\"name\":\"Transactional Email API Service For Developers | Mailgun\",\"url\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.mailgun.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/cropped-android-chrome-512x512-1.png\",\"contentUrl\":\"https:\\\/\\\/www.mailgun.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/cropped-android-chrome-512x512-1.png\",\"width\":512,\"height\":512,\"caption\":\"Transactional Email API Service For Developers | Mailgun\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mailgun.com\\\/de\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Werden Sie mit unserer Vorlagen-API zum E-Mail-Profi - Transactional Email API Service For Developers | Mailgun","description":"Erfahren Sie, wie Sie Ihre E-Mail-Vorlage mit unserer Vorlagen-API zu Mailgun bringen, um Ihre E-Mail-Kampagnen zu optimieren.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mailgun.com\/de\/blog\/product\/erste-schritte-email-vorlagen-api\/","og_locale":"de_DE","og_type":"article","og_title":"Werden Sie mit unserer Vorlagen-API zum E-Mail-Profi - Transactional Email API Service For Developers | Mailgun","og_description":"Erfahren Sie, wie Sie Ihre E-Mail-Vorlage mit unserer Vorlagen-API zu Mailgun bringen, um Ihre E-Mail-Kampagnen zu optimieren.","og_url":"https:\/\/www.mailgun.com\/de\/blog\/product\/erste-schritte-email-vorlagen-api\/","og_site_name":"Transactional Email API Service For Developers | Mailgun","article_modified_time":"2026-09-16T06:15:35+00:00","og_image":[{"width":720,"height":448,"url":"https:\/\/www.mailgun.com\/wp-content\/uploads\/2025\/07\/MG-Blog-Product.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"7\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.mailgun.com\/de\/blog\/product\/erste-schritte-email-vorlagen-api\/","url":"https:\/\/www.mailgun.com\/de\/blog\/product\/erste-schritte-email-vorlagen-api\/","name":"Werden Sie mit unserer Vorlagen-API zum E-Mail-Profi - Transactional Email API Service For Developers | Mailgun","isPartOf":{"@id":"https:\/\/www.mailgun.com\/de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mailgun.com\/de\/blog\/product\/erste-schritte-email-vorlagen-api\/#primaryimage"},"image":{"@id":"https:\/\/www.mailgun.com\/de\/blog\/product\/erste-schritte-email-vorlagen-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mailgun.com\/wp-content\/uploads\/2025\/07\/MG-Blog-Product.png","datePublished":"2022-03-21T00:00:00+00:00","dateModified":"2026-09-16T06:15:35+00:00","description":"Erfahren Sie, wie Sie Ihre E-Mail-Vorlage mit unserer Vorlagen-API zu Mailgun bringen, um Ihre E-Mail-Kampagnen zu optimieren.","breadcrumb":{"@id":"https:\/\/www.mailgun.com\/de\/blog\/product\/erste-schritte-email-vorlagen-api\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mailgun.com\/de\/blog\/product\/erste-schritte-email-vorlagen-api\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.mailgun.com\/de\/blog\/product\/erste-schritte-email-vorlagen-api\/#primaryimage","url":"https:\/\/www.mailgun.com\/wp-content\/uploads\/2025\/07\/MG-Blog-Product.png","contentUrl":"https:\/\/www.mailgun.com\/wp-content\/uploads\/2025\/07\/MG-Blog-Product.png","width":720,"height":448},{"@type":"BreadcrumbList","@id":"https:\/\/www.mailgun.com\/de\/blog\/product\/erste-schritte-email-vorlagen-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mailgun.com\/de\/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https:\/\/www.mailgun.com\/de\/blog\/"},{"@type":"ListItem","position":3,"name":"Werden Sie mit unserer Vorlagen-API zum E-Mail-Profi"}]},{"@type":"WebSite","@id":"https:\/\/www.mailgun.com\/de\/#website","url":"https:\/\/www.mailgun.com\/de\/","name":"Transactional Email API Service For Developers | Mailgun","description":"Leistungsstarke Transaktions-E-Mail-APIs, mit denen Sie E-Mails senden, empfangen und nachverfolgen k\u00f6nnen, speziell f\u00fcr Entwickler konzipiert. Erfahren Sie noch heute mehr!","publisher":{"@id":"https:\/\/www.mailgun.com\/de\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mailgun.com\/de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/www.mailgun.com\/de\/#organization","name":"Transactional Email API Service For Developers | Mailgun","url":"https:\/\/www.mailgun.com\/de\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.mailgun.com\/de\/#\/schema\/logo\/image\/","url":"https:\/\/www.mailgun.com\/wp-content\/uploads\/2025\/06\/cropped-android-chrome-512x512-1.png","contentUrl":"https:\/\/www.mailgun.com\/wp-content\/uploads\/2025\/06\/cropped-android-chrome-512x512-1.png","width":512,"height":512,"caption":"Transactional Email API Service For Developers | Mailgun"},"image":{"@id":"https:\/\/www.mailgun.com\/de\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.mailgun.com\/de\/wp-json\/wp\/v2\/blog\/23348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mailgun.com\/de\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.mailgun.com\/de\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.mailgun.com\/de\/wp-json\/wp\/v2\/users\/13"}],"version-history":[{"count":3,"href":"https:\/\/www.mailgun.com\/de\/wp-json\/wp\/v2\/blog\/23348\/revisions"}],"predecessor-version":[{"id":23554,"href":"https:\/\/www.mailgun.com\/de\/wp-json\/wp\/v2\/blog\/23348\/revisions\/23554"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mailgun.com\/de\/wp-json\/wp\/v2\/media\/4555"}],"wp:attachment":[{"href":"https:\/\/www.mailgun.com\/de\/wp-json\/wp\/v2\/media?parent=23348"}],"wp:term":[{"taxonomy":"blog_category","embeddable":true,"href":"https:\/\/www.mailgun.com\/de\/wp-json\/wp\/v2\/blog_category?post=23348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}