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

# Get a review

> Get one Google review and its reply, as PostSyncer last read it.

> [!NOTE]
>
> Needs `comments:read`: reviews use the comments permissions. See [Permissions](https://docs.postsyncer.com/essentials/authentication.md#permissions).

Gives the review with its stars, text, photos and reply. It doesn't read Google: [Sync reviews](https://docs.postsyncer.com/api-reference/reviews/sync.md) does. `reply_source` says where the reply was written: `postsyncer`, or `google` for a reply made in Google. Works on every plan.

## Errors

| Status | `error` | When | Retry? |
| - | - | - | - |
| 401 | | No API key, or not a valid one. | No: fix the key. |
| 403 | | The key lacks `comments:read`, or its user is inactive. | No: grant it in Settings → API. |
| 404 | | No review with that id on a location in the workspaces the key can reach. | No. |
| 429 | | More than 60 requests a minute. | Yes, after `Retry-After` seconds. |

## Related

* [List reviews](https://docs.postsyncer.com/api-reference/reviews/list.md): every location's reviews.
* [Reply to a review](https://docs.postsyncer.com/api-reference/reviews/reply.md): answer it on Google.


## OpenAPI

````yaml GET /reviews/{review}
openapi: 3.0.3
info:
  title: PostSyncer API
  description: >-
    Post to 12 social networks from your code: posts, media, comments,
    analytics, webhooks and more.
  version: 1.0.0
servers:
  - url: https://postsyncer.com/api/v1
security:
  - bearerAuth: []
tags:
  - name: Workspaces
    description: The workspaces the key can reach.
  - name: Accounts
    description: Connected social accounts, links to connect more, and disconnecting them.
  - name: Posts
    description: Drafts, scheduled and published posts, approvals and a post's history.
  - name: Post settings
    description: A post's auto-plug, comment moderation and contact collection.
  - name: Media
    description: >-
      The media library: file uploads, URL imports, and reading videos and
      social posts' files.
  - name: Folders
    description: Folders that organise the media library.
  - name: Comments
    description: >-
      Comments on your posts: reading, replying, editing, hiding, deleting and
      syncing them.
  - name: Reviews
    description: Google Business Profile reviews and your replies to them.
  - name: Analytics
    description: Workspace, account and post performance.
  - name: Brand
    description: >-
      A workspace's brand: identity, voice, look, accounts, competitors,
      learnings and rules.
  - name: Labels
    description: Labels used to tag posts.
  - name: Campaigns
    description: Campaigns used to group posts.
  - name: Snippets
    description: Saved snippets and hashtag groups to drop into posts.
  - name: Webhooks
    description: Signed webhook endpoints that get your notification events.
paths:
  /reviews/{review}:
    get:
      tags:
        - Reviews
      summary: Get a review
      description: >-
        Needs `comments:read`. Gives one review of a location in a workspace the
        key can reach, as PostSyncer last read it. Works on every plan.
      operationId: getReview
      parameters:
        - name: review
          in: path
          required: true
          description: The review's id (`id` in a list).
          schema:
            type: integer
      responses:
        '200':
          description: The review, not wrapped in `data`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Review'
              examples:
                default:
                  summary: Waiting for a reply
                  value:
                    id: 6120
                    account_id: 304
                    location_title: Halden Coffee · Harbourside
                    reviewer_name: Rowan Example
                    reviewer_photo_url: https://cdn.postsyncer.com/examples/avatar-rowan.jpg
                    star_rating: 5
                    comment: Best flat white in Bristol, and they remembered my order.
                    media: []
                    reviewed_at: '2030-03-12T15:04:00.000000Z'
                    reply_comment: null
                    reply_updated_at: null
                    reply_source: null
                    review_url: https://maps.google.com/?cid=4512345678901234567
                answered:
                  summary: Answered in Google
                  value:
                    id: 6118
                    account_id: 304
                    location_title: Halden Coffee · Harbourside
                    reviewer_name: Jordan Example
                    reviewer_photo_url: null
                    star_rating: 3
                    comment: Lovely coffee, but the queue was long on Saturday.
                    media:
                      - thumbnail_url: >-
                          https://cdn.postsyncer.com/examples/review-queue-thumb.jpg
                        video_url: null
                        label: null
                    reviewed_at: '2030-03-09T11:20:00.000000Z'
                    reply_comment: Thanks Jordan. We're adding a second till on weekends.
                    reply_updated_at: '2030-03-09T17:02:00.000000Z'
                    reply_source: google
                    review_url: https://maps.google.com/?cid=4512345678901234567
        '401':
          $ref: '#/components/responses/Unauthorized401'
        '403':
          description: The key lacks `comments:read`, or its user is inactive.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                missing_permission:
                  summary: The key lacks comments:read
                  value:
                    message: >-
                      This API key does not have the "comments:read" permission.
                      Edit the key in PostSyncer under Settings → API to grant
                      it.
                inactive_account:
                  summary: The key's user is inactive
                  value:
                    message: Your account is inactive.
        '404':
          $ref: '#/components/responses/NotFound404'
        '429':
          $ref: '#/components/responses/RateLimited429'
components:
  schemas:
    Review:
      type: object
      description: >-
        A Google review of a connected Google Business Profile location, with
        your reply when there is one.
      required:
        - id
        - account_id
        - location_title
        - reviewer_name
        - reviewer_photo_url
        - star_rating
        - comment
        - media
        - reviewed_at
        - reply_comment
        - reply_updated_at
        - reply_source
        - review_url
      properties:
        id:
          type: integer
          description: PostSyncer's id for the review.
        account_id:
          type: integer
          description: 'The location: a connected Google Business Profile account.'
        location_title:
          type: string
          nullable: true
          description: The location's name in PostSyncer.
        reviewer_name:
          type: string
          nullable: true
          description: The name Google shows.
        reviewer_photo_url:
          type: string
          nullable: true
        star_rating:
          type: integer
          nullable: true
          minimum: 1
          maximum: 5
          description: 1 to 5 stars; null when Google gives none.
        comment:
          type: string
          nullable: true
          description: The review's text; null for stars only.
        media:
          type: array
          description: Photos and videos the reviewer added.
          items:
            type: object
            required:
              - thumbnail_url
              - video_url
              - label
            properties:
              thumbnail_url:
                type: string
                nullable: true
              video_url:
                type: string
                nullable: true
                description: Set on a video.
              label:
                type: string
                nullable: true
        reviewed_at:
          type: string
          format: date-time
          nullable: true
          description: When it was written, UTC.
        reply_comment:
          type: string
          nullable: true
          description: Your reply; null when there is none.
        reply_updated_at:
          type: string
          format: date-time
          nullable: true
          description: When the reply was written or last changed, UTC.
        reply_source:
          type: string
          nullable: true
          enum:
            - postsyncer
            - google
            - null
          description: >-
            `postsyncer` when the reply was sent from PostSyncer, `google` when
            it was written in Google; null with no reply.
        review_url:
          type: string
          nullable: true
          description: The location on Google Maps, where its reviews are.
    Error:
      type: object
      description: >-
        An error answer. Every one has `message`, in plain words; some add an
        `error` code and fields of their own.
      required:
        - message
      properties:
        message:
          type: string
          description: What went wrong and what to do about it.
  responses:
    Unauthorized401:
      description: No API key, or not a valid one.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            unauthenticated:
              summary: No valid API key
              value:
                message: Unauthenticated.
    NotFound404:
      description: Nothing with that id in the workspaces the key can reach.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            not_found:
              summary: Not found
              value:
                message: Not found.
    RateLimited429:
      description: >-
        More than 60 requests in a minute from this key's user (the API and the
        MCP server share the count). Wait `Retry-After` seconds.
      headers:
        Retry-After:
          description: Seconds until requests are allowed again.
          schema:
            type: integer
        X-RateLimit-Limit:
          description: Requests allowed a minute.
          schema:
            type: integer
        X-RateLimit-Remaining:
          description: Requests left this minute.
          schema:
            type: integer
        X-RateLimit-Reset:
          description: When requests are allowed again, as a Unix timestamp.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            too_many_attempts:
              summary: Too many requests
              value:
                message: Too Many Attempts.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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