Skip to main content

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.

curl --request GET `https://api.mayar.id/hl/v1/reviews \
  --header 'Authorization: Bearer Paste-Your-API-Key-Here'
{
    "statusCode": 200,
    "messages": "success",
    "hasMore": false,
    "pageCount": 1,
    "pageSize": 10,
    "page": 1,
    "total": 1,
    "data": [
        {
            "id": "11f4d767-4d88-41ff-8777-06564d906fe7",
            "createdAt": 1778223034383,
            "customerId": "22eb6224-c20a-4bc2-9b99-13b21e7048c6",
            "message": "Bagus sekali, takde minusnyo",
            "paymentLinkId": "e2b3f5d5-0c62-47ba-8a01-6c1c209e0f77",
            "rating": 5,
            "status": "ACTIVE",
            "updatedAt": 1778225558788,
            "userId": "348e083d-315a-4e5c-96b1-5a2a98c48413",
            "multipleImage": [],
            "content": [],
            "customer": {
                "id": "22eb6224-c20a-4bc2-9b99-13b21e7048c6",
                "name": "Test Mayar"
            },
            "paymentLink": {
                "id": "e2b3f5d5-0c62-47ba-8a01-6c1c209e0f77",
                "name": "Kelas Pemrograman Web Dasar",
                "type": "course",
                "link": "website",
                "subType": null
            }
        }
    ]
}
Endpoint:
https://api.mayar.id/hl/v1/reviews

Authorization

Authorization
string
required
Example:Authorization | Bearer Paste-Your-Api-Key-Here

Response

Successful Response

Main Structure (Root)

statusCode
integer
Status code returned by the API.
messages
string
Status message that describes the API response.
hasMore
boolean
Indicates whether more review data is available.
pageCount
number
Total number of available pages.
pageSize
number
Maximum number of reviews returned per page.
page
number
Current page number.
total
number
Total number of reviews available.
data
array of object
Array containing review objects.

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.
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
List of review images attached by the customer.
data.content
array
Additional review content data.
data.customer
object
Customer information object.
data.customer.id
string
Unique customer ID.
data.customer.name
string
Customer full name.
Payment link information object.
Unique payment link ID.
Name of the payment link or product.
Type of payment link or product.
Slug or public link identifier of the payment link.
Additional subtype information of the payment link.