Feedback Management
Update an email template
<Warning> The Feedback Management API is currently in **BETA**, therefore the following endpoints are subject to modification, given a **2 week notice**.If you are planning to use any of them, please notify us so we will be able to keep you informed about upcoming changes. </Warning>
Updates an existing feedback email template belonging to the authenticated user's organization.
All fields are optional — only the fields present in the request body are updated.
When the resulting cta_type is BUTTON (either newly set or already stored), cta_text must be non-null.
put/feedback/email-templates/{template_id}
Path parameters
template_idnumber required
Template id
Request body
Example request
{
"name": "Default Template",
"subject": "We'd love your feedback",
"title": "How did we do?",
"body": "Thank you for visiting us. Please take a moment to share your experience.",
"cta_text": "Leave a review",
"cta_type": "BUTTON",
"post_cta_text": "Your feedback helps us improve.",
"closing_text": "Thank you for your time!",
"signature_name": "The Partoo Team",
"logo_url": "https://example.com/logo.png",
"banner_url": "https://example.com/banner.png",
"color": "#3B82F6",
"font_family": "Arial"
}Response
OK
Example response
{
"name": "Default Template",
"subject": "We'd love your feedback",
"title": "How did we do?",
"body": "Thank you for visiting us. Please take a moment to share your experience.",
"cta_text": "Leave a review",
"cta_type": "BUTTON",
"post_cta_text": "Your feedback helps us improve.",
"closing_text": "Thank you for your time!",
"signature_name": "The Partoo Team",
"logo_url": "https://example.com/logo.png",
"banner_url": "https://example.com/banner.png",
"color": "#3B82F6",
"font_family": "Arial",
"id": 1,
"org_id": 42,
"created_at": "2024-01-15T10:30:00+00:00",
"updated_at": "2024-06-01T08:00:00+00:00"
}