Widgets
Embeddable review displays for the project. Integrations list widgets and read the embed link, embed code, and allowed domains needed to place them on an external site.
Return each embeddable review widget with its embed code and allowed domains.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
Success
application/json
Success wrapper with an array of widgets in data.
successbooleanOptional
Indicates whether the request completed successfully.
codeintegerOptional
Application-level status code returned by this API.
get/widgets
GET /project/widgets HTTP/1.1
Host: api.moregoodreviews.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
Success
{
"success": true,
"code": 200,
"data": [
{
"id": 18,
"uuid": "4f8a1c2e-6b7d-4e91-a3c5-9d0e2f7b8a14",
"name": "Homepage wall",
"type": "wall",
"embed_link": "https://tag.moregoodreviews.com/js/app.js",
"embed_code": "<script id=\"4f8a1c2e-6b7d-4e91-a3c5-9d0e2f7b8a14\" src=\"https://tag.moregoodreviews.com/js/app.js\" async></script>",
"allowed_domains": [
"acmedental.com",
"www.acmedental.com"
],
"lang": "en",
"published_at": 1714680000,
"created_at": 1714507200,
"updated_at": 1714680000
}
]
}Last updated