> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs-beta.marqii.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs-beta.marqii.com/_mcp/server.

# Get Review Form Widget

GET https://embed.marqii.com/api/v2/public/widget/%3Cpublished%20reviewForms%20widget%20id%3E

Loads a published **reviewForms** (first-party review form) widget.

Unlike the other types, this one returns a `stores[]` array instead of `store`. The guest picks a location, and each store carries `reviewLinks[]` (`{ provider, url }`) used for link-out after a positive rating.

`data`:

* `welcomeTitle`, `message`, `brandLogoUrl`
* `thankYouSettings[]`: `{ stars, title, message }`, the thank-you copy per star rating
* `requiredFields`: `comment`, `commentRequiredIfStarRatingBelowOrEqual`, `email`, `phoneNumber` (may be null)
* `linkOutEnabled` (defaults to `false`) and `linkOutProviders[]`: `{ provider, position }` (defaults to `[]`)

`config`: header/body fonts and colors, `backgroundColor`, `accentColor`, `buttonTextColor`.

The form itself is submitted to the Feedback service (`POST https://feedback.marqii.com/api/v1/public/widgets/{widgetId}/first-party-reviews`), not to this API.

Set the `reviewFormsWidgetId` collection variable to a published review form widget id.

Reference: https://docs-beta.marqii.com/marqii-public-widget-api/get-review-form-widget

## Request

### Query parameters

- `widgetType` (string, required) — Required. Must be `reviewForms` (camelCase).

## Response

### 200

OK

- `id` (string, required)
- `geo` (ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaGeo, required)
- `data` (ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaData, required)
- `type` (string, required)
- `config` (ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaConfig, required)
- `stores` (list of ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaStoresItems, required)
- `createdAt` (integer, required)
- `updatedAt` (integer, required)

## Types

### ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaGeo

- `ip` (string, required)
- `city` (string, required)
- `country` (string, required)
- `latitude` (double, required)
- `longitude` (double, required)

### ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaData

- `message` (string, required)
- `brandLogoUrl` (string, required)
- `welcomeTitle` (string, required)
- `linkOutEnabled` (boolean, required)
- `requiredFields` (ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaDataRequiredFields, required)
- `linkOutProviders` (list of ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaDataLinkOutProvidersItems, required)
- `thankYouSettings` (list of ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaDataThankYouSettingsItems, required)

### ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaConfig

- `accentColor` (string, required)
- `bodyFontSize` (integer, required)
- `bodyFontColor` (string, required)
- `bodyFontFamily` (string, required)
- `headerFontSize` (integer, required)
- `backgroundColor` (string, required)
- `buttonTextColor` (string, required)
- `headerFontColor` (string, required)
- `headerFontFamily` (string, required)

### ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaStoresItems

- `id` (string, required)
- `title` (string, required)
- `address` (ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaStoresItemsAddress, required)
- `reviewLinks` (list of ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaStoresItemsReviewLinksItems, required)

### ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaDataRequiredFields

- `email` (boolean, required)
- `comment` (boolean, required)
- `phoneNumber` (boolean, required)
- `commentRequiredIfStarRatingBelowOrEqual` (integer, required)

### ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaDataLinkOutProvidersItems

- `position` (integer, required)
- `provider` (string, required)

### ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaDataThankYouSettingsItems

- `stars` (integer, required)
- `title` (string, required)
- `message` (string, required)

### ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaStoresItemsAddress

- `country` (string, required)
- `postalCode` (string, required)
- `addressRegion` (string, required)
- `streetAddress` (string, required)
- `addressLocality` (string, required)

### ApiV2PublicWidget3Cpublished20ReviewForms20Widget20Id3EGetResponsesContentApplicationJsonSchemaStoresItemsReviewLinksItems

- `url` (string, required)
- `provider` (string, required)

## Examples

**Response**

```json
{
  "id": "8d4e2b1a-6c9f-4a3e-b7d1-0e5f2a8c4b61",
  "geo": {
    "ip": "203.0.113.10:51234",
    "city": "Austin",
    "country": "US",
    "latitude": 30.2672,
    "longitude": -97.7431
  },
  "data": {
    "message": "We'd love to hear about your experience.",
    "brandLogoUrl": "https://cdn.example.com/logos/example-bistro.png",
    "welcomeTitle": "How was your visit?",
    "linkOutEnabled": true,
    "requiredFields": {
      "email": true,
      "comment": false,
      "phoneNumber": false,
      "commentRequiredIfStarRatingBelowOrEqual": 3
    },
    "linkOutProviders": [
      {
        "position": 0,
        "provider": "google"
      },
      {
        "position": 1,
        "provider": "yelp"
      }
    ],
    "thankYouSettings": [
      {
        "stars": 1,
        "title": "We're sorry",
        "message": "Thanks for letting us know. A manager will follow up."
      },
      {
        "stars": 2,
        "title": "We're sorry",
        "message": "Thanks for letting us know. A manager will follow up."
      },
      {
        "stars": 3,
        "title": "Thank you!",
        "message": "We appreciate your feedback."
      },
      {
        "stars": 4,
        "title": "Thank you!",
        "message": "Would you share your review online?"
      },
      {
        "stars": 5,
        "title": "Thank you!",
        "message": "Would you share your review online?"
      }
    ]
  },
  "type": "reviewForms",
  "config": {
    "accentColor": "#2563EB",
    "bodyFontSize": 16,
    "bodyFontColor": "#374151",
    "bodyFontFamily": "Inter",
    "headerFontSize": 24,
    "backgroundColor": "#FFFFFF",
    "buttonTextColor": "#FFFFFF",
    "headerFontColor": "#111827",
    "headerFontFamily": "Inter"
  },
  "stores": [
    {
      "id": "5e2a9c1d-3b7f-4e8a-9d6c-1f4b8a2e7c50",
      "title": "Example Bistro - Downtown",
      "address": {
        "country": "US",
        "postalCode": "78701",
        "addressRegion": "TX",
        "streetAddress": "100 Main St",
        "addressLocality": "Austin"
      },
      "reviewLinks": [
        {
          "url": "https://search.google.com/local/writereview?placeid=EXAMPLE_PLACE_ID",
          "provider": "google"
        },
        {
          "url": "https://www.yelp.com/writeareview/biz/EXAMPLE_BIZ_ID",
          "provider": "yelp"
        }
      ]
    },
    {
      "id": "7b3c1e9a-2d6f-4c8b-a1e5-9f0d3b7a2c84",
      "title": "Example Bistro - East Side",
      "address": {
        "country": "US",
        "postalCode": "78702",
        "addressRegion": "TX",
        "streetAddress": "2200 E 6th St",
        "addressLocality": "Austin"
      },
      "reviewLinks": []
    }
  ],
  "createdAt": 1758574657934,
  "updatedAt": 1794269120268
}
```

**SDK Code**

```python
import requests

url = "https://embed.marqii.com/api/v2/public/widget/%3Cpublished%20reviewForms%20widget%20id%3E"

querystring = {"widgetType":"reviewForms"}

response = requests.get(url, params=querystring)

print(response.json())
```

```javascript
const url = 'https://embed.marqii.com/api/v2/public/widget/%3Cpublished%20reviewForms%20widget%20id%3E?widgetType=reviewForms';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://embed.marqii.com/api/v2/public/widget/%3Cpublished%20reviewForms%20widget%20id%3E?widgetType=reviewForms"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://embed.marqii.com/api/v2/public/widget/%3Cpublished%20reviewForms%20widget%20id%3E?widgetType=reviewForms")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://embed.marqii.com/api/v2/public/widget/%3Cpublished%20reviewForms%20widget%20id%3E?widgetType=reviewForms")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://embed.marqii.com/api/v2/public/widget/%3Cpublished%20reviewForms%20widget%20id%3E?widgetType=reviewForms');

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://embed.marqii.com/api/v2/public/widget/%3Cpublished%20reviewForms%20widget%20id%3E?widgetType=reviewForms");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://embed.marqii.com/api/v2/public/widget/%3Cpublished%20reviewForms%20widget%20id%3E?widgetType=reviewForms")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```