# Widget Reviews

The reviews displayed in the widget on your websites.

# Get Widget Reviews

GET https://api.lauded.io/api/client/widget-reviews

curl https://api.lauded.io/api/client/widget-reviews \

# Parameters


api_key required|string

API Key copied from Integrations tab.

items_per_page nullable|integer

The number of items to be displayed per page. The default is 10 items per page.

max_rating nullable|integer

Get reviews equal to or below this value. Integer between 1-5.

min_rating nullable|integer

Get reviews equal to or above this value. Integer between 1-5.

# Returns

A json with data property that contains array of widget-reviews objects.

{
    "id": 3,
    "url": "https:://google.com/reviews/1",
    "rating": 4,
    "heading": "Henriette Marquardt gave Bins and Sons 4 stars on Google Reviews",
    "date": "20 years ago",
    "review": "Reprehenderit amet aliquid facere qui. Consequatur omnis alias sunt et sunt. Debitis sint et excepturi minima ducimus ipsam placeat. Et officiis debitis eaque velit ipsum delectus.",
    "review_page": {
        "logo": "https://lauded.io/logos/google.png",
        "companyRating": "4.5",
        "interval": "10",
        "showVerified": true,
        "showCompanyRating": true
    }
}

# Get Reviews for a specific review page

GET https://api.lauded.io/api/client/review-pages/{review_page}/widget-reviews

curl https://api.lauded.io/api/client/review-pages/{review_page}/widget-reviews \

# Parameters


api_key required|string

API Key copied from Integrations tab.

review_page required|string

The route key of the review page

items_per_page nullable|integer

The number of items to be displayed per page. The default is 10 items per page.

# Returns

A json with data property that contains array of widget-reviews objects.

{
    "id": 3,
    "url": "https:://google.com/reviews/1",
    "rating": 4,
    "heading": "Henriette Marquardt gave Bins and Sons 4 stars on Google Reviews",
    "date": "20 years ago",
    "review": "Reprehenderit amet aliquid facere qui. Consequatur omnis alias sunt et sunt. Debitis sint et excepturi minima ducimus ipsam placeat. Et officiis debitis eaque velit ipsum delectus.",
    "review_page": {
        "logo": "https://lauded.io/logos/google.png",
        "companyRating": "4.5",
        "interval": "10",
        "showVerified": true,
        "showCompanyRating": true
    }
}