Email Template Object
This section goes over the parts of the Email Template object.
Email Template Object Attributes
This is the JSON response that gets returned when a request is successful.
Attribute | Data Type | Description |
---|---|---|
bcc_addresses read only | string | The addresses of the recipients to appear in the BCC field. |
cc_addresses read only | string | The addresses of the recipients to appear in the CC field. |
from_address read only | string | The address showing the email sender. |
html_body read only | string | The email HTML body. |
name read only | string | The name of the email template. |
subject read only | string | The email subject title. |
template_sid read only | string | The email template secure ID. |
text_body read only | string | The email text body. |
to_addresses read only | string | The addresses of the recipients. |
type read only | string | The email template type. Values accepted in this field are:
|
Sample Email Template Object
{
"bcc_addresses": "jsmith@freeconferencecall.com",
"cc_addresses": null,
"from_address": "noreply@carrierx.com",
"html_body": "",
"name": "Forgot Partner Password template",
"subject": "QA: CarrierX Password Reset",
"template_sid": "465eb46b-05a7-4251-b89c-e99f2b81509b",
"text_body": "To complete your password reset, please click the link below:\n${base_url}?token=${uuid}\n\nYou are receiving this email because someone has initiated a password reset on\nyour account.\n\n4300 E. Pacific Coast Highway | Long Beach, CA | 90804\n",
"to_addresses": null,
"type": "forgot_partner_password"
}