You can use templates in email APIs to send standard/uniform email messages to customers. By default, the email APIs must be sent only with an approved template.
In order to get a new email template approved, contact your Kaleyra account manager or reach out to the Kaleyra support team. A template is approved based on its relevance to the brand details of the product.
You cannot send an email without a template by default. To enable the email service without a template, contact your Kaleyra account manager or reach out to the Kaleyra support team.
In the email templates, you can specify the values for the parameters, 'from', 'subject', html_body, text_body, and template_name. The parameter values that you provide in the email API call take precedence(override) over the corresponding parameters in the email template.
While using a template in the email API, you must provide the template_id. Make sure to note down the template_id to be able to use in an email API.
Click Try It! to start a request and see the response here!