create_email_template(brand_id, name, description?, structure?, opening_style?, cta_style?, sign_off?, tone_notes?, subject_pattern?, must_include?, avoid?, anchor_examples?, compliance_footer_on_first_touch?, compliance_postal_address?)
Creates an outreach template for a brand. Does not make it the default. Archiving and choosing the default stay in the app.
Parameters
- brand_idstringRequired
- Brand the user confirmed.
- namestringRequired
- Template name.
- descriptionstringOptional
- What this template is for.
- structurearrayOptional
- Voice structure.
- opening_stylestringOptional
- How the letter opens.
- cta_stylestringOptional
- How the letter asks.
- sign_offstringOptional
- How the letter closes.
- tone_notesstringOptional
- Tone guidance.
- subject_patternstringOptional
- Subject guidance.
- must_includearrayOptional
- Points the letter must include.
- avoidarrayOptional
- Points the letter must avoid.
- anchor_examplesarrayOptional
- Example subject and body pairs.
- compliance_footer_on_first_touchbooleanOptional
- Whether the first letter includes the compliance footer.
- compliance_postal_addressstringOptional
- The merchant's own postal address.
Returns
- template_idstring
- The created template.
- templates_urlstring
- Link to the template library in Hivewave.