Testimonial API
📋
Testimonial API
List testimonials
Returns all testimonials in the Space, with optional filtering.
Query parameters
Parameter | Type | Required | Description |
|---|---|---|---|
| string | No | Filter by type: |
| UUID | No | Return only testimonials in this folder |
| UUID | No | Return a single testimonial by ID |
| number | No | Maximum results to return. Default: |
| string | No | Pass |
Example request
Response
Asset shapes by type
Video (type: "video"):
Field | Type |
|---|---|
| UUID |
|
|
| string (e.g. |
| string or null |
| number or null |
| string or null |
| string or null |
| string or null |
| number or null |
| number or null |
Image (type: "image"):
Field | Type |
|---|---|
| UUID |
|
|
| string |
| string or null |
| signed URL (expires in 1 hour) |
Other types (document, etc.):
Field | Type |
|---|---|
| UUID |
| string |
| string |
| string or null |
| signed URL |
Get a single testimonial
Example request
Response
Same shape as a single item from the list endpoint.
Errors
HTTP | Code | Message |
|---|---|---|
404 |
|
|
Update a testimonial
Updates one or more fields on a testimonial. Send only the fields you want to change.
Request body
Field | Type | Description |
|---|---|---|
| string | The testimonial text |
| number | Star rating |
| string | Testimonial status |
| string | Body content |
| string | Author display name |
| string | Author title or role |
At least one field is required.
Example request
Response
Errors
HTTP | Code | Message |
|---|---|---|
400 |
|
|
400 |
|
|
