> For the complete documentation index, see [llms.txt](https://docs.moregoodreviews.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.moregoodreviews.com/platform/api-reference/widgets.md).

# 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.

## List Widgets

> Return each embeddable review widget with its embed code and allowed domains.

```json
{"openapi":"3.1.0","info":{"title":"MGR Project API","version":"1.0.0"},"tags":[{"description":"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.","name":"Widgets"}],"servers":[{"url":"https://api.moregoodreviews.com/project"}],"security":[{"ApiKey":[]}],"components":{"securitySchemes":{"ApiKey":{"type":"http","scheme":"bearer","bearerFormat":"ApiKey"}}},"paths":{"/widgets":{"get":{"tags":["Widgets"],"summary":"List Widgets","operationId":"listWidgets","description":"Return each embeddable review widget with its embed code and allowed domains.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","description":"Success wrapper with an array of widgets in data.","properties":{"success":{"type":"boolean","description":"Indicates whether the request completed successfully."},"code":{"type":"integer","description":"Application-level status code returned by this API."},"data":{"type":"array","description":"Widgets for the authenticated project, ordered by name.","items":{"type":"object","description":"One embeddable review widget owned by the authenticated project.","properties":{"id":{"type":"integer","description":"Unique numeric identifier for this widget."},"uuid":{"type":"string","description":"Stable UUID for this widget. Used as the id on the embed script tag."},"name":{"type":"string","description":"Human-readable name shown in the widget list."},"type":{"type":"string","description":"Widget layout used to render reviews on an external site.","enum":["badge","carousel","carousel-dynamic","corner","corner-dynamic","faces","headline","highlights","marquee","spotlight","wall"]},"embed_link":{"type":"string","description":"Script URL that loads this widget on an external site."},"embed_code":{"type":"string","description":"HTML script tag that embeds this widget."},"allowed_domains":{"type":"array","description":"Hostnames allowed to load this widget. An empty list means any site may load it.","items":{"type":"string","description":"Hostname or wildcard pattern allowed to display this widget."}},"lang":{"type":"string","nullable":true,"description":"Language code for widget text. Null uses the project default."},"published_at":{"type":"integer","nullable":true,"description":"Unix timestamp when the widget was published. Null while unpublished."},"created_at":{"type":"integer","description":"Unix timestamp when the widget was created."},"updated_at":{"type":"integer","description":"Unix timestamp when the widget was last updated."}}}}}}}}}}}}}}
```
