email-templates

Create Email Template

post/v1/email-templates

Request

  • Base URL: https://api.elaan.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.elaan.io/v1/email-templates
  • Auth: none declared

Headers

authorizationstring nullable

Request body

languagestring nullable
notification_type_keystring required
branding_keystring nullable
subjectstring required
bodystring required

Example request

{
  "language": "es",
  "notification_type_key": "order_shipped",
  "branding_key": "acme",
  "subject": "Your order has shipped",
  "body": "Hi {{ contact.first_name }}, your order is on its way."
}

Response

Successful Response

idstring required
notification_type_keystring required
branding_keystring nullable required
languagestring nullable required
variablesstring[] required
subjectstring required
bodystring required

Changes

No recorded changes to this operation across all 1 revision of this API.