Skip to main content

Create Template

POST 

/reviewRequestTemplates

Status: Trusted Tester

Used to create a new template within Customer Voice. Dynamic content can be inserted via substitution variables.

The follow variables are supported within an email template:

  • {{.customerName}}: The first and last name of the customer.
  • {{.customerFirstName}}: The first name of the customer.
  • {{.businessName}}: The business location name.
  • {{.buttonUrl}}: The review request button URL.

Can be used for dynamic content visibility within an email template:

  • {{.displaySource1}}: Whether or not to display source 1.
  • {{.displaySource2}}: Whether or not to display source 2.
  • {{.displaySource3}}: Whether or not to display source 3.

Used to render images within an email template:

  • <img style="border-radius: 50%;" src="https://www.cdnstyles.com/static/images/icon50/sourceId-{{.sourceId1}}.png">
  • <img style="border-radius: 50%;" src="https://www.cdnstyles.com/static/images/icon50/sourceId-{{.sourceId2}}.png">
  • <img style="border-radius: 50%;" src="https://www.cdnstyles.com/static/images/icon50/sourceId-{{.sourceId3}}.png">

Used to render links within an email template:

  • <a href="{{.shareUrl1}}" style="text-decoration: none; color: #999999;">{{.sourceName1}}</a>
  • <a href="{{.shareUrl2}}" style="text-decoration: none; color: #999999;">{{.sourceName2}}</a>
  • <a href="{{.shareUrl3}}" style="text-decoration: none; color: #999999;">{{.sourceName3}}</a>

The following members must be populated during creation:

  • relationships.businessLocation.data.id

Request

Responses

Created