Testimonials
Testimonials are the ordered reviews on a testimonial wall. A testimonial is text or a video, with the reviewer's name, position, avatar, and rating. These routes list, add, update, approve, hide, delete, and reorder them at /walls/{id}/testimonials.
Overview
Creates, updates, deletes, and reorders are draft writes. On a published testimonial wall they do not change what visitors, embeds, or Easypage sections show until you publish. On a testimonial wall that is a draft, they change the testimonial wall directly, and nothing shows it publicly until the first publish. Lists and gets return the draft and have no preview_url. See Draft, preview, and publish.
Testimonials come back lowest order first. Pending and hidden testimonials are included in lists, in gets, and in include=testimonials on Get Testimonial Wall, unless a list filters them out. They are never shown on the testimonial wall, in an embed, in an Easypage section, or on the preview page.
List Testimonials is paginated. include=testimonials returns every testimonial.
Create Testimonial places the new testimonial after the highest order. Reorder Testimonials is how you change order.
A testimonial id that is unknown, not a UUID, or not on that testimonial wall returns 404. See Identifiers.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /walls/{id}/testimonials | List testimonials |
| POST | /walls/{id}/testimonials | Create a testimonial |
| GET | /walls/{wallId}/testimonials/{id} | Get a testimonial |
| PATCH | /walls/{wallId}/testimonials/{id} | Update a testimonial |
| DELETE | /walls/{wallId}/testimonials/{id} | Delete a testimonial |
| POST | /walls/{id}/testimonials/reorder | Reorder testimonials |
Testimonial Object
Every field is present. A nullable text field with no value is null.
| Field | Type | Description |
|---|---|---|
id | string | Immutable identifier (UUID). Assigned on create. |
status | string | pending or approved. See Approval. |
is_hidden | boolean | Hidden from the testimonial wall, and still returned by the API |
type | string | text or video. Set on create and cannot change. |
name | string | Reviewer name, 1–255 characters, not only spaces |
position | string|null | Reviewer position or company, at most 255 characters |
content | string | Testimonial text. Required and not blank on a text testimonial. "" on a video testimonial without text. |
website_url | string|null | Reviewer website, at most 255 characters |
avatar_url | string|null | Reviewer avatar address, at most 255 characters |
rating | integer|null | 1 to 5, or null for no rating |
image_urls | array | Image addresses, at most 10, each at most 2048 characters |
gif_urls | array | GIF addresses, at most 10, each at most 2048 characters |
video_url | string|null | Video address, at most 255 characters. Required and not blank on a video testimonial. |
author_email | string|null | Reviewer email address, at most 255 characters |
is_confirmed | boolean | The reviewer confirmed the testimonial by email. Read-only. |
confirmed_at | string|null | When the reviewer confirmed. Read-only. |
dated_at | string|null | Date shown on the card, YYYY-MM-DDTHH:MM:SS(.sss)Z (seconds required; fractional seconds optional). null shows created_at. |
source | string|null | Where the testimonial came from. api on testimonials created through the API. Read-only. |
order | integer | Position on the testimonial wall. Changed only by Reorder Testimonials. |
created_at | string|null | ISO 8601 timestamp (UTC). Read-only. |
updated_at | string|null | ISO 8601 timestamp (UTC). Read-only. |
On create and update, null clears position, website_url, avatar_url, video_url, rating, dated_at, and author_email. On every other field, null returns 422. A video testimonial cannot clear video_url, and a text testimonial cannot set content to blank text: both return 422. image_urls and gif_urls replace the whole list, and [] clears it.
Approval
A testimonial is pending until it is approved. Approve one with { "status": "approved" } on Update Testimonial. There is no separate approve or reject route. To reject a testimonial, hide it with { "is_hidden": true } or delete it.
A testimonial created through the API is approved unless you send status: "pending". A review submitted through the public review form arrives pending, or approved when is_auto_approve_enabled is on. It is added to the live testimonial wall at once, so an approved one shows on a published testimonial wall without a publish. Publish Testimonial Wall with approve_pending: true approves every pending testimonial in the draft and publishes in one call.
Setting author_email does not send the reviewer a confirmation email.
Testimonials on several testimonial walls
A testimonial can be on more than one testimonial wall. It is one record: an update through one testimonial wall changes what every testimonial wall shows once the update is live. Delete Testimonial removes it from this testimonial wall only, and the other testimonial walls keep it.
Reorder
Reorder Testimonials takes the testimonials you want to move. A testimonial you leave out keeps its order.
items is required and must contain between 1 and 1000 entries. Each id is a testimonial on this testimonial wall. Each order is an integer 0 or greater.
A duplicate id, a duplicate order, or an order that matches a testimonial you left out returns 422 and changes nothing. An id that is not on this testimonial wall returns 404 and changes nothing. The response is every testimonial in the new order, inside data, with no pagination. preview_url, draft_version, and draft_updated_at sit beside data.