> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replo.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Add a review

> **Beta** — this endpoint may change before general availability.



## OpenAPI

````yaml /api-reference/openapi.json post /reviews
openapi: 3.1.0
info:
  title: Replo Public API
  version: '2026-11-20'
servers:
  - url: https://api.replo.app/v1
security: []
paths:
  /reviews:
    post:
      tags:
        - Reviews
      summary: Add a review
      description: '**Beta** — this endpoint may change before general availability.'
      operationId: reviews.create
      parameters:
        - name: Replo-Api-Version
          in: header
          required: true
          schema:
            type: string
            enum:
              - '2026-11-20'
          description: The public API version to use for this request.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                projectId:
                  type: string
                  format: uuid
                formId:
                  type: string
                  format: uuid
                  description: 'Default: the project''s first review form'
                productRef:
                  type:
                    - string
                    - 'null'
                  minLength: 1
                  maxLength: 255
                  description: null reviews the store
                rating:
                  type: integer
                  minimum: 1
                  maximum: 5
                  description: Stars, 1 to 5
                title:
                  type:
                    - string
                    - 'null'
                  maxLength: 255
                  description: Headline
                body:
                  type:
                    - string
                    - 'null'
                  maxLength: 10000
                  description: The review text
                reviewerName:
                  type:
                    - string
                    - 'null'
                  maxLength: 255
                  description: Shown with the review, such as "Maya R."
                email:
                  type:
                    - string
                    - 'null'
                  maxLength: 320
                  description: Never public; used to check their orders
                status:
                  type: string
                  enum:
                    - pending
                    - published
                    - rejected
                  description: 'Default: the form''s publishing rule'
                verified:
                  type: boolean
                  description: Bought it; default checks the email's paid orders
                photoUrls:
                  type: array
                  items:
                    type: string
                    format: uri
                  maxItems: 10
                  description: Photo links, for an import
                source:
                  type: string
                  enum:
                    - manual
                    - import
                  description: 'import: copied from another reviews app'
                createdAt:
                  type: string
                  maxLength: 40
                  description: ISO 8601 time it was written; default now
              required:
                - projectId
                - productRef
                - rating
              additionalProperties: false
      responses:
        '201':
          description: Add a review
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Review'
        '400':
          $ref: '#/components/responses/InvalidRequest'
        '401':
          $ref: '#/components/responses/InvalidCredentials'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '413':
          $ref: '#/components/responses/PayloadTooLarge'
        '429':
          $ref: '#/components/responses/RateLimitExceeded'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
      security:
        - bearerAuth: []
components:
  schemas:
    Review:
      type: object
      properties:
        object:
          type: string
          enum:
            - review
        id:
          type: string
          format: uuid
        projectId:
          type: string
          format: uuid
        formId:
          type: string
          format: uuid
          description: The review form that collected it
        responseId:
          type:
            - string
            - 'null'
          format: uuid
          description: >-
            The form response behind it, for replo_form_responses_get; null for
            a review the team added or imported
        contactId:
          type:
            - string
            - 'null'
          format: uuid
        email:
          type:
            - string
            - 'null'
          description: The reviewer's email; never shown on the site
        productId:
          type:
            - string
            - 'null'
          format: uuid
          description: The Replo product reviewed; null for another catalog's
        productRef:
          type:
            - string
            - 'null'
          description: >-
            What sites list the review by: a Replo product id or another
            catalog's handle; null for a review of the store
        productTitle:
          type:
            - string
            - 'null'
        rating:
          type: integer
          minimum: 1
          maximum: 5
          description: Stars, 1 to 5
        title:
          type:
            - string
            - 'null'
        body:
          type:
            - string
            - 'null'
        reviewerName:
          type:
            - string
            - 'null'
        status:
          type: string
          enum:
            - pending
            - published
            - rejected
          description: Only published reviews show on the site
        verified:
          type: boolean
          description: The reviewer bought it
        featured:
          type: boolean
          description: Shown before the others
        reply:
          type:
            - object
            - 'null'
          properties:
            body:
              type: string
            repliedAt:
              type: string
          required:
            - body
            - repliedAt
          description: The business's public answer
        helpfulCount:
          type: integer
        unhelpfulCount:
          type: integer
        answers:
          type: array
          items:
            type: object
            properties:
              key:
                type: string
                description: The question's key on the review form
              label:
                type: string
                description: The question as the reviewer read it
              value:
                anyOf:
                  - type: string
                  - type: number
                  - type: array
                    items:
                      type: string
                description: The choice picked, the choices picked, or a 1 to 10 score
            required:
              - key
              - label
              - value
            description: One answer to the form's own questions, shown with the review
          description: Answers to the review form's own questions
        photos:
          type: array
          items:
            type: object
            properties:
              url:
                type: string
                description: A link to the photo that works for about an hour
              filename:
                type: string
            required:
              - url
              - filename
            description: One photo attached to a review
        source:
          type: string
          enum:
            - site
            - manual
            - import
          description: >-
            site: a visitor sent it through the form; manual: the team added it;
            import: copied from another reviews app
        publishedAt:
          type:
            - string
            - 'null'
        createdAt:
          type: string
        updatedAt:
          type: string
      required:
        - object
        - id
        - projectId
        - formId
        - responseId
        - contactId
        - email
        - productId
        - productRef
        - productTitle
        - rating
        - title
        - body
        - reviewerName
        - status
        - verified
        - featured
        - reply
        - helpfulCount
        - unhelpfulCount
        - answers
        - photos
        - source
        - publishedAt
        - createdAt
        - updatedAt
    PublicApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            doc_url:
              type: string
            issues:
              type: array
              items:
                type: object
                properties:
                  param:
                    type:
                      - string
                      - 'null'
                    description: >-
                      Dotted path to the failing field within the request body,
                      query or path, e.g. "name" or "variants.0.available"; null
                      when the rule covers the whole input.
                  message:
                    type: string
                    description: Why the field was rejected.
                required:
                  - param
                  - message
              description: >-
                Present on an invalid_request whose input failed validation:
                each failing field and why, at most 10.
          required:
            - code
            - message
            - doc_url
      required:
        - error
  responses:
    InvalidRequest:
      description: Invalid request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
    InvalidCredentials:
      description: >-
        Missing or invalid Replo Public API token. Send an active key as
        `Authorization: Bearer replo_sk_...`; if it was revoked, create a new
        key in Replo Settings.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
    Forbidden:
      description: >-
        You are not authorized to access this resource. Ask a workspace owner to
        perform this action or to grant the key's creator access.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
    NotFound:
      description: >-
        Not Found. The resource may not exist, this key may lack the required
        scope, or the key's creator may have lost access. Check the key's scopes
        in Replo Settings and the creator's project or workspace access; a
        workspace owner can grant access.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
    Conflict:
      description: The resource is in a conflicting state.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
    PayloadTooLarge:
      description: File content exceeds the 10 MiB limit.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
    RateLimitExceeded:
      description: >-
        Too many requests. Please retry after the time indicated by the
        Retry-After header.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
    InternalError:
      description: An internal error occurred.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
    ServiceUnavailable:
      description: Service temporarily unavailable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.