Related services: ReviewsService —
lynkow.reviews.getBySlug(),lynkow.reviews.list(),lynkow.reviews.settings(),lynkow.reviews.submit()
Review
Interface
A customer review as returned by the public API.
Only approved reviews are returned by public endpoints — pending and rejected reviews are never visible. Reviews are ordered by creation date (newest first) by default.
Property | Type | Optional | Description |
|---|---|---|---|
|
| Yes | Email address of the review author.<br>May be partially masked for privacy (e.g. |
|
| No | Display name of the review author (e.g. |
|
| No | The full review text body.<br>Min 10 characters, max 5000 characters. Plain text (no HTML).<br>Always present for approved reviews. |
|
| No | ISO 8601 datetime when the review was submitted (e.g. |
|
| No | Unique numeric review ID. Auto-incremented.<br>Use this for API calls like |
|
| No | BCP 47 locale code of this review (e.g. |
|
| No | Numeric rating given by the reviewer.<br>Integer between 1 and 5 (inclusive), where 1 is the lowest and 5 is the highest.<br>The allowed range is configured in |
|
| Yes | The site owner's response to this review, if one has been posted.<br> |
|
| No | URL-friendly slug derived from the review title or author name.<br> |
|
| No | Review moderation status. Always |
|
| No | Optional review title/headline (e.g. |
ReviewResponse
Interface
An admin/site-owner response to a customer review. Displayed publicly below the review when present.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | The response text as plain text.<br>Written by a site admin or owner in the admin dashboard.<br>Max 5000 characters. |
|
| No | ISO 8601 datetime when the response was posted (e.g. |
ReviewSettings
Interface
Public review settings for a site.
Returned by GET /public/reviews/settings.
Use these settings to:
Check if reviews are enabled before rendering a review form
Configure the rating input range (stars, slider, etc.)
Show/hide optional fields (title, email) in the submission form
Display moderation notices to users
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Whether anonymous reviews (without email) are accepted.<br>When |
|
| No | Whether the review system is enabled for this site.<br>When |
|
| No | Field visibility and requirement configuration.<br>Use these to dynamically show/hide fields and mark them as required in your review form. |
|
| No | Maximum selectable rating value (inclusive). Integer between 1 and 5.<br>Use this to set the upper bound of your rating input (e.g. if set to 5, show stars 1-5).<br>The API rejects submissions with a rating above this value. |
|
| No | Minimum selectable rating value (inclusive). Integer between 1 and 5.<br>Use this to set the lower bound of your rating input (e.g. if set to 1, show stars 1-5).<br>The API rejects submissions with a rating below this value. |
|
| No | Whether new reviews require admin approval before appearing publicly.<br>When |
ReviewSubmitData
Interface
Data payload for submitting a new review via POST /public/reviews.
Required fields: authorName, rating, content.
Optional fields depend on ReviewSettings.fields configuration.
Property | Type | Optional | Description |
|---|---|---|---|
|
| Yes | Email address of the reviewer.<br>Must be a valid email format. Not displayed publicly (or displayed masked).<br>Required when |
|
| No | Display name of the reviewer.<br>Min 2 characters, max 100 characters. Required.<br>Displayed publicly alongside the review. |
|
| No | The full review text body. Min 10 characters, max 5000 characters.<br>Plain text only (no HTML). Required. |
|
| No | Numeric rating. Integer between 1 and 5 (inclusive).<br>Must be within the range defined by |
|
| Yes | Optional review title/headline. Max 200 characters.<br>Only include if |