Contents
Social Proof Testimonials - Plugixa Testimonial
GET /plugixatestimonial/v1/frontend/social-proof
Read the most recent approved testimonials for the social proof popup.
Public: no authentication.
Note. The route answers even when the social proof popup is switched off. It is not filtered by language. See Social proof.
Request
GET https://your-site.example/wp-json/plugixatestimonial/v1/frontend/social-proof
Responses
200 OK. data is the list, newest first.
{
"success": true,
"message": "",
"data": [
{
"id": "42",
"client_name": "Sarah Johnson",
"client_company": "Northwind Studio",
"client_role": "Marketing Director",
"rating": "5",
"created_at": "2026-11-12 09:30:00",
"client_photo_url": "https://your-site.example/wp-content/uploads/2026/11/sarah-150x150.jpg"
}
]
}
| Field | Type | Meaning |
|---|---|---|
data[].id |
string |
The testimonial’s id |
data[].rating |
string |
1 to 5 |
data[].created_at |
string |
Site-time datetime |
data[].client_photo_url |
string |
Thumbnail URL, empty without a photo |
How many come back and the lowest rating included follow the Max popups (1 to 20, default 5) and Minimum rating settings.
Errors
Plus the errors every endpoint can return.
Examples
curl -s "https://your-site.example/wp-json/plugixatestimonial/v1/frontend/social-proof"
<?php
$ch = curl_init('https://your-site.example/wp-json/plugixatestimonial/v1/frontend/social-proof');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
const response = await fetch('https://your-site.example/wp-json/plugixatestimonial/v1/frontend/social-proof');
const { data } = await response.json();
Quick Links
Share