Skip to main content

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.

AttributeData TypeDescription
bcc_addresses
read only
stringThe addresses of the recipients to appear in the BCC field.
cc_addresses
read only
stringThe addresses of the recipients to appear in the CC field.
from_address
read only
stringThe address showing the email sender.
html_body
read only
stringThe email HTML body.
name
read only
stringThe name of the email template.
subject
read only
stringThe email subject title.
template_sid
read only
stringThe email template secure ID.
text_body
read only
stringThe email text body.
to_addresses
read only
stringThe addresses of the recipients.
type
read only
stringThe email template type. Values accepted in this field are:
  • email_address_verification for the template used for email verification.
  • email_partner_review for the template used to review partners.
  • forgot_partner_password for the template used to reset the forgotten password.
  • invoice for the invoice template.
  • low_balance_partner_notification for the template used to notify of a low balance.
  • new_partner_welcome for the welcome email message template.
  • suspended_partner_notification for the template used to notify the partner about suspension from access to CarrierX services.

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"
}