All URIs are relative to https://zernio.com/api
| Method | HTTP request | Description |
|---|---|---|
| deleteInboxReviewReply | DELETE /v1/inbox/reviews/{reviewId}/reply | Delete review reply |
| deleteInboxReviewReplyWithHttpInfo | DELETE /v1/inbox/reviews/{reviewId}/reply | Delete review reply |
| listInboxReviews | GET /v1/inbox/reviews | List reviews |
| listInboxReviewsWithHttpInfo | GET /v1/inbox/reviews | List reviews |
| replyToInboxReview | POST /v1/inbox/reviews/{reviewId}/reply | Reply to review |
| replyToInboxReviewWithHttpInfo | POST /v1/inbox/reviews/{reviewId}/reply | Reply to review |
DeleteInboxReviewReply200Response deleteInboxReviewReply(reviewId, deleteInboxReviewReplyRequest)
Delete review reply
Delete a reply to a review (Google Business only). Requires accountId in request body.
// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.ReviewsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://zernio.com/api");
// Configure HTTP bearer authorization: bearerAuth
HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
bearerAuth.setBearerToken("BEARER TOKEN");
ReviewsApi apiInstance = new ReviewsApi(defaultClient);
String reviewId = "reviewId_example"; // String |
DeleteInboxReviewReplyRequest deleteInboxReviewReplyRequest = new DeleteInboxReviewReplyRequest(); // DeleteInboxReviewReplyRequest |
try {
DeleteInboxReviewReply200Response result = apiInstance.deleteInboxReviewReply(reviewId, deleteInboxReviewReplyRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ReviewsApi#deleteInboxReviewReply");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| reviewId | String | ||
| deleteInboxReviewReplyRequest | DeleteInboxReviewReplyRequest |
DeleteInboxReviewReply200Response
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Reply deleted | - |
| 401 | Unauthorized | - |
| 403 | Inbox addon required | - |
ApiResponse deleteInboxReviewReply deleteInboxReviewReplyWithHttpInfo(reviewId, deleteInboxReviewReplyRequest)
Delete review reply
Delete a reply to a review (Google Business only). Requires accountId in request body.
// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.ApiResponse;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.ReviewsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://zernio.com/api");
// Configure HTTP bearer authorization: bearerAuth
HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
bearerAuth.setBearerToken("BEARER TOKEN");
ReviewsApi apiInstance = new ReviewsApi(defaultClient);
String reviewId = "reviewId_example"; // String |
DeleteInboxReviewReplyRequest deleteInboxReviewReplyRequest = new DeleteInboxReviewReplyRequest(); // DeleteInboxReviewReplyRequest |
try {
ApiResponse<DeleteInboxReviewReply200Response> response = apiInstance.deleteInboxReviewReplyWithHttpInfo(reviewId, deleteInboxReviewReplyRequest);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling ReviewsApi#deleteInboxReviewReply");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| reviewId | String | ||
| deleteInboxReviewReplyRequest | DeleteInboxReviewReplyRequest |
ApiResponse<DeleteInboxReviewReply200Response>
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Reply deleted | - |
| 401 | Unauthorized | - |
| 403 | Inbox addon required | - |
ListInboxReviews200Response listInboxReviews(profileId, platform, minRating, maxRating, hasReply, sortBy, sortOrder, limit, cursor, accountId)
List reviews
Fetch reviews from all connected Facebook Pages and Google Business accounts. Aggregates data with filtering and sorting options. Supported platforms: Facebook, Google Business.
// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.ReviewsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://zernio.com/api");
// Configure HTTP bearer authorization: bearerAuth
HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
bearerAuth.setBearerToken("BEARER TOKEN");
ReviewsApi apiInstance = new ReviewsApi(defaultClient);
String profileId = "profileId_example"; // String |
String platform = "facebook"; // String |
Integer minRating = 56; // Integer |
Integer maxRating = 56; // Integer |
Boolean hasReply = true; // Boolean | Filter by reply status
String sortBy = "date"; // String |
String sortOrder = "asc"; // String |
Integer limit = 25; // Integer |
String cursor = "cursor_example"; // String |
String accountId = "accountId_example"; // String | Filter by specific social account ID
try {
ListInboxReviews200Response result = apiInstance.listInboxReviews(profileId, platform, minRating, maxRating, hasReply, sortBy, sortOrder, limit, cursor, accountId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ReviewsApi#listInboxReviews");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| profileId | String | [optional] | |
| platform | String | [optional] [enum: facebook, googlebusiness] | |
| minRating | Integer | [optional] | |
| maxRating | Integer | [optional] | |
| hasReply | Boolean | Filter by reply status | [optional] |
| sortBy | String | [optional] [default to date] [enum: date, rating] | |
| sortOrder | String | [optional] [default to desc] [enum: asc, desc] | |
| limit | Integer | [optional] [default to 25] | |
| cursor | String | [optional] | |
| accountId | String | Filter by specific social account ID | [optional] |
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Aggregated reviews | - |
| 401 | Unauthorized | - |
| 403 | Inbox addon required | - |
ApiResponse listInboxReviews listInboxReviewsWithHttpInfo(profileId, platform, minRating, maxRating, hasReply, sortBy, sortOrder, limit, cursor, accountId)
List reviews
Fetch reviews from all connected Facebook Pages and Google Business accounts. Aggregates data with filtering and sorting options. Supported platforms: Facebook, Google Business.
// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.ApiResponse;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.ReviewsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://zernio.com/api");
// Configure HTTP bearer authorization: bearerAuth
HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
bearerAuth.setBearerToken("BEARER TOKEN");
ReviewsApi apiInstance = new ReviewsApi(defaultClient);
String profileId = "profileId_example"; // String |
String platform = "facebook"; // String |
Integer minRating = 56; // Integer |
Integer maxRating = 56; // Integer |
Boolean hasReply = true; // Boolean | Filter by reply status
String sortBy = "date"; // String |
String sortOrder = "asc"; // String |
Integer limit = 25; // Integer |
String cursor = "cursor_example"; // String |
String accountId = "accountId_example"; // String | Filter by specific social account ID
try {
ApiResponse<ListInboxReviews200Response> response = apiInstance.listInboxReviewsWithHttpInfo(profileId, platform, minRating, maxRating, hasReply, sortBy, sortOrder, limit, cursor, accountId);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling ReviewsApi#listInboxReviews");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| profileId | String | [optional] | |
| platform | String | [optional] [enum: facebook, googlebusiness] | |
| minRating | Integer | [optional] | |
| maxRating | Integer | [optional] | |
| hasReply | Boolean | Filter by reply status | [optional] |
| sortBy | String | [optional] [default to date] [enum: date, rating] | |
| sortOrder | String | [optional] [default to desc] [enum: asc, desc] | |
| limit | Integer | [optional] [default to 25] | |
| cursor | String | [optional] | |
| accountId | String | Filter by specific social account ID | [optional] |
ApiResponse<ListInboxReviews200Response>
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Aggregated reviews | - |
| 401 | Unauthorized | - |
| 403 | Inbox addon required | - |
ReplyToInboxReview200Response replyToInboxReview(reviewId, replyToInboxReviewRequest)
Reply to review
Post a reply to a review. Requires accountId in request body.
// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.ReviewsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://zernio.com/api");
// Configure HTTP bearer authorization: bearerAuth
HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
bearerAuth.setBearerToken("BEARER TOKEN");
ReviewsApi apiInstance = new ReviewsApi(defaultClient);
String reviewId = "reviewId_example"; // String | Review ID (URL-encoded for Google Business)
ReplyToInboxReviewRequest replyToInboxReviewRequest = new ReplyToInboxReviewRequest(); // ReplyToInboxReviewRequest |
try {
ReplyToInboxReview200Response result = apiInstance.replyToInboxReview(reviewId, replyToInboxReviewRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ReviewsApi#replyToInboxReview");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| reviewId | String | Review ID (URL-encoded for Google Business) | |
| replyToInboxReviewRequest | ReplyToInboxReviewRequest |
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Reply posted | - |
| 401 | Unauthorized | - |
| 403 | Inbox addon required | - |
ApiResponse replyToInboxReview replyToInboxReviewWithHttpInfo(reviewId, replyToInboxReviewRequest)
Reply to review
Post a reply to a review. Requires accountId in request body.
// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.ApiResponse;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.ReviewsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://zernio.com/api");
// Configure HTTP bearer authorization: bearerAuth
HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
bearerAuth.setBearerToken("BEARER TOKEN");
ReviewsApi apiInstance = new ReviewsApi(defaultClient);
String reviewId = "reviewId_example"; // String | Review ID (URL-encoded for Google Business)
ReplyToInboxReviewRequest replyToInboxReviewRequest = new ReplyToInboxReviewRequest(); // ReplyToInboxReviewRequest |
try {
ApiResponse<ReplyToInboxReview200Response> response = apiInstance.replyToInboxReviewWithHttpInfo(reviewId, replyToInboxReviewRequest);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling ReviewsApi#replyToInboxReview");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| reviewId | String | Review ID (URL-encoded for Google Business) | |
| replyToInboxReviewRequest | ReplyToInboxReviewRequest |
ApiResponse<ReplyToInboxReview200Response>
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Reply posted | - |
| 401 | Unauthorized | - |
| 403 | Inbox addon required | - |