Creates an email template with custom structure, styles, and texts. You can add the variables for some texts to the template. To add the relevant texts for these variables, use the Send email based on template call.
template_type required | string type of template |
project_id required | string <uuid> Login-Projekt-ID aus dem Kundenportal. |
template_id required | string Name of the template. Can include latin characters, digits, characters “-” and “_”. |
locale required | string Region of the texts that you provided in the template in the
|
OK
Unauthorized
Not Found
Conflict
Unprocessable Entity
{- "body": "Hi {{first_name}} {{last_name}}!<br>We will be glad to see you on the {{site_link}} page.",
- "header": "Welcome email"
}
{- "body": "Hi {{first_name}} {{last_name}}!<br>We will be glad to see you on the {{site_link}} page.",
- "header": "Welcome email",
- "locale": "en_US",
- "template_id": "Welcome email template",
- "template_type": "custom"
}