Skip to main content

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​

MethodEndpointDescription
GET/walls/{id}/testimonialsList testimonials
POST/walls/{id}/testimonialsCreate 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/reorderReorder testimonials

Testimonial Object​

Every field is present. A nullable text field with no value is null.

FieldTypeDescription
idstringImmutable identifier (UUID). Assigned on create.
statusstringpending or approved. See Approval.
is_hiddenbooleanHidden from the testimonial wall, and still returned by the API
typestringtext or video. Set on create and cannot change.
namestringReviewer name, 1–255 characters, not only spaces
positionstring|nullReviewer position or company, at most 255 characters
contentstringTestimonial text. Required and not blank on a text testimonial. "" on a video testimonial without text.
website_urlstring|nullReviewer website, at most 255 characters
avatar_urlstring|nullReviewer avatar address, at most 255 characters
ratinginteger|null1 to 5, or null for no rating
image_urlsarrayImage addresses, at most 10, each at most 2048 characters
gif_urlsarrayGIF addresses, at most 10, each at most 2048 characters
video_urlstring|nullVideo address, at most 255 characters. Required and not blank on a video testimonial.
author_emailstring|nullReviewer email address, at most 255 characters
is_confirmedbooleanThe reviewer confirmed the testimonial by email. Read-only.
confirmed_atstring|nullWhen the reviewer confirmed. Read-only.
dated_atstring|nullDate shown on the card, YYYY-MM-DDTHH:MM:SS(.sss)Z (seconds required; fractional seconds optional). null shows created_at.
sourcestring|nullWhere the testimonial came from. api on testimonials created through the API. Read-only.
orderintegerPosition on the testimonial wall. Changed only by Reorder Testimonials.
created_atstring|nullISO 8601 timestamp (UTC). Read-only.
updated_atstring|nullISO 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.