Skip to main content
GET
Русская версия Sign the request with HMAC v2. Requires the public-api:reviews:read scope.

Authorizations

Authorization
string
header
required

Sanctum token in Authorization: Bearer <token> format.

X-Api-Timestamp
string
header
required

Positive Unix seconds or an absolute ISO 8601 timestamp with seconds and a numeric offset or Z. A fractional second may contain up to six digits.

X-Api-Nonce
string
header
required

Unique nonce per token within the signing window. Use 8 to 128 characters from A–Z, a–z, 0–9, period, underscore, colon and hyphen.

X-Api-Signature
string
header
required

Hex HMAC-SHA256 signature, optionally prefixed with sha256=.

Headers

X-Api-Signature-Version
string
required

Required version of the request signature. Use v2 on the first line of the canonical string. The eighth line is the trimmed Idempotency-Key or an empty line when there is no key. Sign the originally parsed query values.

Allowed value: "v2"

Query Parameters

page
integer
default:1

Page number, starting at 1.

Required range: x >= 1
per_page
integer
default:25

Maximum number of items per page.

Required range: 1 <= x <= 100
pagination
enum<string>
default:page

Use cursor for large datasets. Cursor pagination supports only sort=id or sort=-id; omitted sort defaults to -id. The first page uses pagination=cursor; continuation requests send the returned cursor and may omit both pagination and sort. If sort is repeated, its direction must match the cursor.

Available options:
page,
cursor
cursor
string | null

Opaque cursor returned in meta.pagination.next_cursor. Do not modify or combine it with the opposite id sort direction.

filter[rating]
integer<int32>

Rating of the published review.

filter[order_id]
integer

Internal numeric order ID, distinct from the public or tracking ID accepted in review creation.

filter[created_from]
string<date>

Lower bound for creation time. Use ISO 8601 with a time zone.

filter[created_to]
string<date>

Upper bound for creation time. Use ISO 8601 with a time zone.

filter[id]
integer<int64>

Review record ID.

filter[direction_id]
integer<int32>

Exchange route ID associated with the review.

filter[user_id]
integer<int32>

ID of the user who wrote the review.

filter[status]
integer<int32>

Review status filter. The feed contains published reviews with status 1.

sort
string

Comma-separated sort fields. A minus sign means descending. Cursor pagination accepts only id or -id.

Pattern: ^-?(id|rating|status|created_at)(,-?(id|rating|status|created_at))*$

Response

Published reviews.

state
enum<integer>
required
Available options:
0
message
string
required
result
object[]
required
meta
object
required