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

# Get All Reviews

> Endpoint to retrieve all reviews across the merchant store

```bash Request Example theme={null}
curl --request GET 'https://api.mayar.id/hl/v2/reviews?limit=10' \
--header 'Authorization: Bearer Paste-Your-API-Key-Here'
```

```json Response Example 200 theme={null}
{
    "statusCode": 200,
    "messages": "success",
    "data": [
        {
            "id": "11f4d767-4d88-41ff-8777-06564d906fe7",
            "createdAt": 1767063610103,
            "customerId": "22eb6224-c20a-4bc2-9b99-13b21e7048c6",
            "message": "Materinya jelas dan mudah dipahami, terima kasih!",
            "paymentLinkId": "e2b3f5d5-0c62-47ba-8a01-6c1c209e0f77",
            "rating": 5,
            "status": "ACTIVE",
            "updatedAt": 1767762378460,
            "userId": "348e083d-315a-4e5c-96b1-5a2a98c48413",
            "multipleImage": [
                {
                    "id": "d4e5f6a7-b8c9-4012-d345-6789abcdef01",
                    "fileType": "png",
                    "description": null,
                    "url": "https://media.mayar.id/images/d4e5f6a7-b8c9-4012-d345-6789abcdef01.png"
                }
            ],
            "content": [
                {
                    "id": "b2c3d4e5-f6a7-4890-b123-456789abcdef",
                    "value": "c3d4e5f6-a7b8-4901-c234-56789abcdef0",
                    "file": {
                        "id": "c3d4e5f6-a7b8-4901-c234-56789abcdef0",
                        "filename": "ulasan-video.mp4",
                        "size": 5698168,
                        "mimetype": "video/mp4"
                    }
                }
            ],
            "customer": {
                "id": "22eb6224-c20a-4bc2-9b99-13b21e7048c6",
                "name": "Budi Santoso"
            },
            "paymentLink": {
                "id": "e2b3f5d5-0c62-47ba-8a01-6c1c209e0f77",
                "name": "Kelas Pemrograman Web Dasar",
                "type": "course",
                "link": "kelas-pemrograman-web-dasar",
                "subType": null
            }
        }
    ],
    "hasMore": false,
    "nextStartingAfter": null
}
```

Endpoint:

```Production Production theme={null}
https://api.mayar.id/hl/v2/reviews
```

```Sandbox Sandbox theme={null}
https://api.mayar.io/hl/v2/reviews
```

## Authorization

**Authorization** `string` *required*

Example:

`Authorization | Bearer Paste-Your-Api-Key-Here`

## Query Parameters

**limit** `number`

Maximum number of reviews to return per page. Used for cursor pagination.

**startingAfter** `string`

Cursor for the next page. Pass the `nextStartingAfter` value from the previous response.

**status** `string`

Filter reviews by status (for example `ACTIVE`, `ARCHIVED`, or `INACTIVE`).

**paymentLinkId** `string\<uuid\>`

Filter reviews belonging to a specific payment link / product.

**rating** `number`

Filter reviews by rating value (1–5).

## Response

Successful Response

## Main Structure (Root)

**statusCode** `integer`

Status code returned by the API.

**messages** `string`

Status message that describes the API response.

**data** `array of object`

Array containing review objects.

**hasMore** `boolean`

Indicates whether more review data is available beyond the current page.

**nextStartingAfter** `string | null`

Cursor to fetch the next page. `null` when there are no more results.

### data Structure (Array Of Object)

**data.id** `string`

Unique review ID.

**data.createdAt** `number`

Unix timestamp in milliseconds indicating when the review was created.

**data.customerId** `string`

Unique customer identifier associated with the review.

**data.message** `string`

Review message submitted by the customer.

**data.paymentLinkId** `string`

Payment link ID associated with the review.

**data.rating** `number`

Rating value submitted by the customer.

**data.status** `string`

Current review status.

**data.updatedAt** `number`

Unix timestamp in milliseconds indicating when the review was last updated.

**data.userId** `string`

Unique user ID associated with the payment link owner.

**data.multipleImage** `array of object`

List of review images attached by the customer.

**data.multipleImage.id** `string`

Unique image ID.

**data.multipleImage.fileType** `string`

File extension of the image (for example `png` or `jpg`).

**data.multipleImage.description** `string | null`

Optional description of the image.

**data.multipleImage.url** `string`

Public URL of the image.

**data.content** `array of object`

Additional review content (for example uploaded videos).

**data.content.id** `string`

Unique content entry ID.

**data.content.value** `string`

Identifier of the underlying file referenced by this content entry.

**data.content.file** `object`

File metadata for this content entry.

**data.content.file.id** `string`

Unique file ID.

**data.content.file.filename** `string`

Original file name.

**data.content.file.size** `number`

File size in bytes.

**data.content.file.mimetype** `string`

MIME type of the file (for example `video/mp4`).

**data.customer** `object`

Customer information object.

**data.customer.id** `string`

Unique customer ID.

**data.customer.name** `string`

Customer full name.

**data.paymentLink** `object`

Payment link information object.

**data.paymentLink.id** `string`

Unique payment link ID.

**data.paymentLink.name** `string`

Name of the payment link or product.

**data.paymentLink.type** `string`

Type of payment link or product.

**data.paymentLink.link** `string`

Slug or public link identifier of the payment link.

**data.paymentLink.subType** `string | null`

Additional subtype information of the payment link.


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