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

# Update Review

> Changes a review. Send one of these: all the fields of a review of a manual source (author_name and body, and the others as add_review); highlights (phrases of the text to show in bold, [] to remove them); approved: true (shows a review that waits for approval); or hidden (true hides it from the widgets, false shows it).



## OpenAPI

````yaml https://snapwidget.com/api/v1/openapi.json patch /reviews/{id}
openapi: 3.1.0
info:
  title: SnapWidget API
  version: '1'
  description: >-
    Make and change social feed and review widgets, connect social accounts and
    get the embed code. The MCP server at https://snapwidget.com/mcp has the
    same actions for AI agents.
  termsOfService: https://snapwidget.com/terms
  contact:
    name: SnapWidget
    email: support@snapwidget.com
    url: https://snapwidget.com/docs/api-reference/introduction
servers:
  - url: https://snapwidget.com/api/v1
security:
  - token: []
tags:
  - name: Sign-up
  - name: Account
  - name: Social accounts
  - name: Widgets
  - name: Reviews
  - name: Campaigns
paths:
  /reviews/{id}:
    patch:
      tags:
        - Reviews
      summary: Update Review
      description: >-
        Changes a review. Send one of these: all the fields of a review of a
        manual source (author_name and body, and the others as add_review);
        highlights (phrases of the text to show in bold, [] to remove them);
        approved: true (shows a review that waits for approval); or hidden (true
        hides it from the widgets, false shows it).
      operationId: update_review
      parameters:
        - name: id
          in: path
          required: true
          description: The review's id (the id in get_review_source).
          schema:
            type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                author_name:
                  description: The name of the person (manual source).
                  type: string
                body:
                  description: The review text (manual source).
                  type: string
                author_title:
                  description: Their job title.
                  type: string
                author_company:
                  description: Their company.
                  type: string
                author_avatar:
                  description: A link to their photo.
                  type: string
                author_url:
                  description: A link to their profile.
                  type: string
                rating:
                  description: The stars, 1 to 5.
                  minimum: 1
                  maximum: 5
                  type: number
                title:
                  description: A title.
                  type: string
                published_at:
                  description: The date (YYYY-MM-DD).
                  type: string
                url:
                  description: A link to the review.
                  type: string
                video_url:
                  description: A link to a video review.
                  type: string
                platform:
                  description: Where the review comes from.
                  enum:
                    - g2
                    - google
                    - capterra
                    - trustpilot
                    - producthunt
                    - x
                    - linkedin
                    - facebook
                  type: string
                highlights:
                  description: Phrases of the text to show in bold.
                  maxItems: 30
                  items:
                    type: string
                  type: array
                approved:
                  description: 'True: the review shows (it waited for approval).'
                  type: boolean
                hidden:
                  description: 'True: hidden from the widgets. False: shown.'
                  type: boolean
      responses:
        '200':
          description: The answer, as JSON.
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/Invalid'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  responses:
    Unauthorized:
      description: No token, or the token is wrong, expired or revoked.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >-
        The token or the plan has no API access, or the plan does not allow the
        change.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: No item with this id in the account.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Invalid:
      description: An input is not valid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    TooManyRequests:
      description: Too many calls. The Retry-After header gives the seconds to wait.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        message:
          type: string
          description: What went wrong.
        errors:
          type: object
          description: The messages per input, when an input is not valid.
          additionalProperties:
            type: array
            items:
              type: string
        upgrade_url:
          type: string
          description: The upgrade page, when the plan does not allow it.
      required:
        - message
  securitySchemes:
    token:
      type: http
      scheme: bearer
      description: 'A token from the API page: https://snapwidget.com/settings/api'

````

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