Documentation Index
Fetch the complete documentation index at: https://docs.masivo.ai/llms.txt
Use this file to discover all available pages before exploring further.
See the full parameter and response reference for
GET review form, POST review, and GET reviews.Prerequisites
Authenticate with the Storefront API using a Bearer access token. See Integrate with Masivo.These endpoints are available with CLIENT and SERVER API keys. CLIENT
keys are suitable for embedded apps that only need to read review form
definitions and submit reviews.
1. Load the active review form
Fetch the review form schema before rendering your UI:status: "ACTIVE" are returned. Inactive or deleted forms respond with 404.
Use reviewForm.fields to build inputs. Each field has a name (API key), label, type, and optional options, images, min, and max.
2. Submit a review
Send answers keyed by field name (not field id):201 with the created review, including event_id for the linked REVIEW event.
Anonymous reviews
Omitcustomer_id when the respondent is not known:
customer_id: null. The linked event uses the review id as the customer identifier.
3. List reviews (optional)
Paginate and filter stored reviews:Common errors
| Status | Cause | Example details |
|---|---|---|
400 | Answer validation failed | Field score is required |
400 | Invalid option value | Field reason must only include configured options |
404 | Review form not found or inactive | — |
422 | Missing or invalid body fields | Zod issues (for example missing source) |
Answer rules by field type
| Field type | answers value |
|---|---|
SCORE | Number within min–max |
TEXT | String |
SELECT | String matching an option value |
MULTI_SELECT | Array of strings, each matching an option value |
Related documentation
- Review forms concept
- Create and manage review forms
- Customer events — includes
REVIEWevents