reviews
Reply to review
Post a reply to a review. Requires accountId in request body.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
reviewIdstring
Review ID (URL-encoded for Google Business)
accountIdstring
messagestring
Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.reviews.replyToInboxReview({ path: { reviewId: 'review_abc123', }, body: { accountId: 'account_abc123', message: 'Hello, world!', },});console.log(data);{
"status": "string",
"reply": {
"id": "string",
"text": "string",
"created": "2019-08-24T14:15:22Z"
},
"platform": "string"
}{
"error": "Unauthorized"
}Empty