Create Testimonial
Add a testimonial to a testimonial wall. type and name are required, content is required for a text testimonial, and video_url for a video testimonial. The new testimonial is approved unless you send status: "pending", and it is placed after the highest order. Its id is assigned now. source is api. On a published testimonial wall, the testimonial is shown after you publish. See Testimonials and Approval.
Request
POST /walls/{id}/testimonials
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Testimonial wall UUID. See Identifiers. |
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
draft_version | integer | Yes | Current counter from Get Testimonial Wall. Minimum 1. Missing, not an integer, or below 1 is 422. A value that is not current is 409. |
type | string | Yes | text or video. Cannot change later. |
name | string | Yes | Reviewer name, 1–255 characters, not only spaces |
status | string | No | pending or approved. Omit for approved. |
is_hidden | boolean | No | Hide from the testimonial wall. Omit for false. |
position | string|null | No | Reviewer position or company, at most 255 characters |
content | string | For text | Testimonial text. Required and not empty for text. Omit on video for "". |
website_url | string|null | No | Reviewer website, at most 255 characters |
avatar_url | string|null | No | Reviewer avatar address, at most 255 characters |
rating | integer|null | No | 1 to 5 |
image_urls | array | No | Image addresses, at most 10, each at most 2048 characters. Replaces the list. |
gif_urls | array | No | GIF addresses, at most 10, each at most 2048 characters. Replaces the list. |
video_url | string|null | For video | Video address, at most 255 characters. Required for video. |
author_email | string|null | No | Reviewer email address, at most 255 characters. No confirmation email is sent. |
dated_at | string|null | No | Date shown on the card, YYYY-MM-DDTHH:MM:SS(.sss)Z (seconds required; fractional seconds optional). null shows created_at. |
is_confirmed, confirmed_at, source, order, created_at, and updated_at are read-only.
Example Request
curl -X POST "https://app.easy.tools/api/v1/walls/4a0c8e55-1d69-4b72-9f30-7c2e6b1a8d94/testimonials" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"draft_version": 3,
"type": "text",
"name": "Sarah Miller",
"position": "Marketing lead, Northwind",
"content": "Our conversion rate went up after the first module.",
"rating": 5
}'
Response
Success Response (201)
{
"data": {
"id": "1d6a9e37-2b84-4c50-9f13-8e7a5c2d0b46",
"status": "approved",
"is_hidden": false,
"type": "text",
"name": "Sarah Miller",
"position": "Marketing lead, Northwind",
"content": "Our conversion rate went up after the first module.",
"website_url": null,
"avatar_url": null,
"rating": 5,
"image_urls": [],
"gif_urls": [],
"video_url": null,
"author_email": null,
"is_confirmed": false,
"confirmed_at": null,
"dated_at": null,
"source": "api",
"order": 2,
"created_at": "2026-01-20T10:00:00.000Z",
"updated_at": "2026-01-20T10:00:00.000Z",
"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 Testimonial Object. preview_url on data is minted for this response. draft_version and draft_updated_at are on data as well.
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 missing type or name, a text testimonial without content, a video testimonial without video_url, or a field outside its limits. Nothing is saved.
{
"error": {
"code": "VALIDATION_ERROR",
"message": "The given data was invalid",
"details": {
"content": ["content must be a non-empty string when type is text"]
}
}
}
Authentication, permission, and rate-limit errors are described in Authorization.