OverviewProductsPlatformsAPI ReferenceResources
Reviews

List reviews

GEThttps://zernio.com/api/v1/inbox/reviews

Fetch reviews from all connected Facebook Pages and Google Business Profile accounts. Aggregates data with filtering and sorting options. Supported platforms: Facebook, Google Business Profile.

Each account's reviews are read from the platform page by page within a 20-second budget per request, so very large accounts can come back truncated. Each account's listing is cached for up to 60 seconds.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Query parameters

Optional
profileIdstring
platformstringOne of facebook | googlebusiness
minRatinginteger
maxRatinginteger
hasReplyboolean

Filter by reply status

sortBystringDefault dateOne of date | rating
sortOrderstringDefault descOne of asc | desc
limitintegerDefault 25
cursorstring
accountIdstring

Filter by specific account ID

Responses

Success· the request worked

Errors· the request failed

GET/v1/inbox/reviews
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.reviews.listInboxReviews();console.log(data);
{  "status": "string",  "data": [    {      "id": "string",      "platform": "string",      "accountId": "string",      "accountUsername": "string",      "locationId": "string",      "locationName": "string",      "reviewer": {        "id": "string",        "name": "string",        "profileImage": "string"      },      "rating": 0,      "recommendationType": "positive",      "text": "string",      "created": "2019-08-24T14:15:22Z",      "hasReply": true,      "hasPhotos": true,      "photoCount": 0,      "photos": [        {          "url": "http://example.com"        }      ],      "reply": {        "id": "string",        "text": "string",        "created": "2019-08-24T14:15:22Z"      },      "reviewUrl": "string"    }  ],  "pagination": {    "hasMore": true,    "nextCursor": "string"  },  "meta": {    "accountsQueried": 0,    "accountsFailed": 0,    "failedAccounts": [      {        "accountId": "string",        "accountUsername": "string",        "platform": "string",        "error": "string",        "code": "string",        "retryAfter": 0      }    ],    "lastUpdated": "2019-08-24T14:15:22Z",    "accountsSkipped": [      {        "accountId": "string",        "platform": "string"      }    ]  },  "summary": {    "totalReviews": 0,    "averageRating": 0  }}
OpenAPI specification
Was this page helpful?