Variable | Type | Description |
---|---|---|
list_id | string|int | The list id for this mail template. |
type | string | The template type. Can be any of:
|
subject | string | The subject for the mail sent out. |
text | string|null | The TEXT body of email sent out. If null it will be autogenerated from the HTML content. |
html | string | The HTML body of the email sent out.. |
Parameter | Description |
---|---|
string | The ID of the template |
"your_template_id"
Code | Message | Description |
---|---|---|
407 | Missing required param list_id | list_id param is required |
407 | Missing required param type | type param is required |
407 | Missing required param subject | subject param is required |
407 | Missing required param text | text param is required |
407 | Missing required param html | html param is required |
101 | Not allowed for list_id = %s | Invalid access to template list_id |
108 | List %s has been deleted | template ID belongs to a list which has been deleted |
10001 | Invalid template type | Invalid template type |
10002 | Invalid template value provided in text version, missing: ##confirm_link## | The confirm link tag is missing from the template |
203 | Could not save the email template | Template could not be saved |
{ "err": true, "message": "Missing required param list_id", "code": 407 }
{ "err": true, "message": "Missing required param type", "code": 407 }
{ "err": true, "message": "Missing required param subject", "code": 407 }
{ "err": true, "message": "Missing required param text", "code": 407 }
{ "err": true, "message": "Missing required param html", "code": 407 }
{ "err": true, "message": "Invalid template type", "code": 10001 }