Create an email template
Creates a new feedback email template for the authenticated user’s organization.
When cta_type is BUTTON, the cta_text field is required.
Authorizations
The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.
Body
Internal name for the template
"Default Template"
Email subject line
"We'd love your feedback"
Title displayed in the email body
"How did we do?"
Main body text of the email
"Thank you for visiting us. Please take a moment to share your experience."
Type of call-to-action rendered in the email.
BUTTON: a clickable button;cta_textmust be non-null.EMBEDDED_NPS: an NPS score row embedded in the email.
BUTTON, EMBEDDED_NPS "BUTTON"
Primary accent color for the email template (hex code)
"#3B82F6"
Font family used in the email
Arial, Helvetica, Verdana, Georgia, Trebuchet "Arial"
Call-to-action label. Required when cta_type is BUTTON.
"Leave a review"
Text displayed below the call-to-action
"Your feedback helps us improve."
Closing paragraph of the email
"Thank you for your time!"
Name displayed in the email signature
"The Partoo Team"
URL of the organization logo displayed in the email header
"https://example.com/logo.png"
URL of the banner image displayed in the email
"https://example.com/banner.png"
Response
Created
Internal name for the template
"Default Template"
Email subject line
"We'd love your feedback"
Title displayed in the email body
"How did we do?"
Main body text of the email
"Thank you for visiting us. Please take a moment to share your experience."
Type of call-to-action rendered in the email.
BUTTON: a clickable button;cta_textmust be non-null.EMBEDDED_NPS: an NPS score row embedded in the email.
BUTTON, EMBEDDED_NPS "BUTTON"
Primary accent color for the email template (hex code)
"#3B82F6"
Font family used in the email
Arial, Helvetica, Verdana, Georgia, Trebuchet "Arial"
Unique identifier of the email template
1
The organization ID that owns this template
42
Date and time the template was created
"2024-01-15T10:30:00+00:00"
Date and time the template was last updated
"2024-06-01T08:00:00+00:00"
Call-to-action label. Required when cta_type is BUTTON.
"Leave a review"
Text displayed below the call-to-action
"Your feedback helps us improve."
Closing paragraph of the email
"Thank you for your time!"
Name displayed in the email signature
"The Partoo Team"
URL of the organization logo displayed in the email header
"https://example.com/logo.png"
URL of the banner image displayed in the email
"https://example.com/banner.png"