Inbox · Reviews
Returns reviews, one page at a time.
GET
https://api.pozy.ai/v1/inbox/reviewslistInboxReviews
Guides: Reviews, Google Business Profile, Google reviews
Request
Send your API key as Authorization: Bearer pz_live_.... Read-only keys can call it. Keys with the engagement resource group disabled get 403 resource_group_disabled. Authentication
Query parameters
| Name | Type | Notes |
|---|---|---|
profileId | string | |
platform | string | One of facebook, googlebusiness |
minRating | integer | 1 to 5 |
maxRating | integer | 1 to 5 |
hasReply | boolean | |
sortBy | string | One of date, ratingDefault date |
sortOrder | string | One of asc, descDefault desc |
limit | integer | Default 251 to 50 |
cursor | string | |
accountId | string |
Example
curl -X GET "https://api.pozy.ai/v1/inbox/reviews?limit=25" \
-H "Authorization: Bearer $POZY_API_KEY"const res = await fetch("https://api.pozy.ai/v1/inbox/reviews?limit=25", {
headers: { Authorization: `Bearer ${process.env.POZY_API_KEY}` },
});
const data = await res.json();
if (!res.ok) throw new Error(data?.error ?? `Request failed with status ${res.status}`);
console.log(data);import os
import requests
resp = requests.get(
"https://api.pozy.ai/v1/inbox/reviews",
headers={"Authorization": f"Bearer {os.environ['POZY_API_KEY']}"},
params={
"limit": 25,
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())Response
200 on success
statusstringdataarray of object17 child fields
idstringplatformstringaccountIdstringaccountUsernamestringlocationIdstringlocationNamestringCan be null.
reviewerobject3 child fields
idstringCan be null.
namestringprofileImagestringCan be null.
ratingintegerrecommendationTypestringOne of
positive,negative. Can be null.textstringcreatedstring (date-time)hasReplybooleanhasPhotosbooleanphotoCountintegerphotosarray of object1 child field
urlstring (URL)
replyobjectCan be null.
3 child fields
idstringtextstringcreatedstring (date-time)
reviewUrlstringCan be null.
paginationobjecthasMorebooleannextCursorstringCan be null.
metaobjectaccountsQueriedintegeraccountsFailedintegerfailedAccountsarray of object6 child fields
accountIdstringaccountUsernamestringCan be null.
platformstringerrorstringcodestringCan be null.
retryAfterintegerCan be null.
lastUpdatedstring (date-time)accountsSkippedarray of object2 child fields
accountIdstringplatformstring
summaryobjecttotalReviewsintegeraverageRatingnumberCan be null.
200 response
{
"status": "active",
"data": [
{
"id": "6bfebd43ddc270f6d2c56fc5",
"platform": "instagram",
"accountId": "696e0b682d0a31188e7a2ba9",
"accountUsername": "acme",
"locationId": "6e99c3dd69982b334a43b0b2",
"locationName": "Acme",
"reviewer": {
"id": "6bfebd43ddc270f6d2c56fc5",
"name": "Acme",
"profileImage": "string"
},
"rating": 1,
"recommendationType": "positive",
"text": "Hello from Pozy",
"created": "2026-10-02T09:00:00.000Z",
"hasReply": true,
"hasPhotos": true,
"photoCount": 42,
"photos": [
{
"url": "https://pozy.ai/media/example-1.jpg"
}
],
"reply": {
"id": "6bfebd43ddc270f6d2c56fc5",
"text": "Hello from Pozy",
"created": "2026-10-02T09:00:00.000Z"
},
"reviewUrl": "https://pozy.ai/media/example-1.jpg"
}
],
"pagination": {
"hasMore": true,
"nextCursor": "string"
},
"meta": {
"accountsQueried": 42,
"accountsFailed": 42,
"failedAccounts": [
{
"accountId": "696e0b682d0a31188e7a2ba9",
"accountUsername": "acme",
"platform": "instagram",
"error": "string",
"code": "string",
"retryAfter": 1
}
],
"lastUpdated": "2026-10-02T09:00:00.000Z",
"accountsSkipped": [
{
"accountId": "696e0b682d0a31188e7a2ba9",
"platform": "instagram"
}
]
},
"summary": {
"totalReviews": 42,
"averageRating": 12.5
}
}Errors
Errors use one shape: { error, type, code, param?, details? }. The ones you are most likely to see here:
| 400 | invalid_request_error | A parameter or body field is missing or invalid. param names it. |
| 401 | authentication_error | The API key is missing, revoked or expired. |
| 403 | permission_error | The key is scoped to other profiles or has this resource group disabled. |
| 429 | rate_limit_error | Too many requests this minute. Wait for Retry-After seconds. |
Every code is listed in Errors.