Skip to main content

Update Testimonial Wall Form

Change the public review form at form_url. Only the keys you send are written. author and colors merge the same way. disabled_review_types and hidden_fields replace the whole array. The write is a draft write and does not publish. The response is the full form object plus preview_url. See Form Object and Updates.

Request​

PATCH /walls/{id}/form

Path Parameters​

ParameterTypeRequiredDescription
idstringYesTestimonial wall UUID. See Identifiers.

Request Body​

draft_version is required. Every other field is optional and is described in Form Object. null clears redirect_url. On any other field, null returns 422.

ParameterTypeRequiredDescription
draft_versionintegerYesCurrent counter from Get Testimonial Wall. Minimum 1. Missing, not an integer, or below 1 is 422. A value that is not current is 409.
titlestringNoForm heading, at most 255 characters
descriptionstringNoForm text
image_urlstringNoImage above the form, at most 255 characters
is_email_requestedbooleanNoWhether the form asks for the reviewer's email
is_email_requiredbooleanNoWhether that email is required
redirect_urlstring|nullNoWhere the button after submitting goes, at most 255 characters, or null to clear
redirect_labelstringNoLabel of that button, at most 255 characters
authorobjectNoAuthor Object. A present object merges.
colorsobjectNoColors Object. A present object merges.
disabled_review_typesarrayNoAny of text and video, not both. Replaces the stored list.
hidden_fieldsarrayNoAny of avatar, position, and website. Replaces the stored list.

Author Object​

ParameterTypeRequiredDescription
namestringNoName, at most 255 characters
positionstringNoPosition, at most 255 characters
avatar_urlstringNoAvatar address, at most 255 characters

Colors Object​

ParameterTypeRequiredDescription
background_colorstringNoForm background
text_colorstringNoForm text
button_background_colorstringNoButton background
button_text_colorstringNoButton text

Example Request​

curl -X PATCH "https://app.easy.tools/api/v1/walls/4a0c8e55-1d69-4b72-9f30-7c2e6b1a8d94/form" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"draft_version": 3,
"title": "How was the course?",
"redirect_url": "https://mysite.com",
"redirect_label": "Back to the shop",
"author": {
"name": "Emily Carter",
"position": "Course author"
},
"colors": {
"button_background_color": "#111827",
"button_text_color": "#ffffff"
},
"disabled_review_types": ["video"]
}'

Response​

Success Response (200)​

{
"data": {
"title": "How was the course?",
"description": "Your review is extremely important to me! \n I try to ensure that the products I create are of the highest quality and thanks to the recommendations - including your review - I can reach them with even larger audience. Thank you very much in advance.",
"image_url": "/assets/easy.png",
"is_email_requested": true,
"is_email_required": false,
"redirect_url": "https://mysite.com",
"redirect_label": "Back to the shop",
"author": {
"name": "Emily Carter",
"position": "Course author",
"avatar_url": ""
},
"colors": {
"background_color": "",
"text_color": "",
"button_background_color": "#111827",
"button_text_color": "#ffffff"
},
"disabled_review_types": ["video"],
"hidden_fields": [],
"preview_url": "https://app.easy.tools/walls/4a0c8e55-1d69-4b72-9f30-7c2e6b1a8d94/preview?expires=...&signature=...",
"draft_version": 4,
"draft_updated_at": "2026-01-20T10:00:00.000Z"
}
}

Response Fields​

See Form Object. Every form key is present. preview_url is minted for this response. draft_version is the counter after this write. draft_updated_at is when the draft was saved.

Error Responses​

Not Found Error (404)​

See Identifiers.

{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Resource not found"
}
}

Conflict Error (409)​

draft_version is not the current counter. Read the testimonial wall and retry with that value. Nothing is saved.

{
"error": {
"code": "CONFLICT",
"message": "The draft was edited elsewhere. GET the draft and retry with the current draft_version."
}
}

Validation Error (422 Unprocessable Entity)​

A value outside disabled_review_types or hidden_fields, both review types disabled, or null on a field other than redirect_url. Nothing is saved.

{
"error": {
"code": "VALIDATION_ERROR",
"message": "The given data was invalid",
"details": {
"disabled_review_types": ["disabled_review_types cannot disable both text and video"]
}
}
}

Authentication, permission, and rate-limit errors are described in Authorization.