---
title: "Reply to a Google Business Profile review"
description: "PubNio API inbox.reviews.reply: reply to a Google Business Profile review. Request fields, examples in five clients, errors, and idempotency."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Reply to a Google Business Profile review

Reply to a Google Business Profile review with [`POST /api/v1/inbox/reviews/{reviewId}/replies`](https://pubnio.com/api/v1/docs#tag/inbox/POST/api/v1/inbox/reviews/{reviewId}/replies). Requires an API key with the `engage` scope or a signed-in workspace member.

## Request

Writes one provider reply. The provider keeps a single reply per review, so a later reply replaces it. Deleted reviews return 404.

| Parameter     | In    | Type | Required |
| ------------- | ----- | ---- | -------- |
| `reviewId`    | path  | UUID | Yes      |
| `workspaceId` | query | UUID | Yes      |

| Body field | Type   | Required |
| ---------- | ------ | -------- |
| `text`     | string | Yes      |

## Response

- HTTP 201: `InboxReview` with `id`, `workspaceId`, `accountId`, `provider`, `locationExternalId`, `author`, `rating`, `recommendation`, `text`, `permalink`, `providerCreatedAt`, `providerUpdatedAt`, `repliedAt`, `replyText`, `canReply`, `deletedAt`, `createdAt`.
  - `provider`: `bluesky`, `facebook`, `instagram`, `linkedin`, `pinterest`, `reddit`, `snapchat`, `tiktok`, `threads`, `x`, `youtube`, `google_business`, `meta_ads`, `google_ads`, `reddit_ads`, `pinterest_ads`, `tiktok_ads`, `linkedin_ads`, `snapchat_ads`, `amazon_ads`, `openai_ads`

The [OpenAPI document](https://pubnio.com/api/v1/openapi) has each field's type.

## Examples

### TypeScript

The TypeScript SDK has no method for this operation yet; send it over HTTP as the cURL tab shows.

### Python

```python
result = workspace.inbox.reply_to_review(
    review_id,
    text="Thank you for visiting the studio.",
)
```

### cURL

```sh
curl -X POST "https://pubnio.com/api/v1/inbox/reviews/$REVIEW_ID/replies?workspaceId=$WORKSPACE_ID" \
  -H "Authorization: Bearer $PUBNIO_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"Thank you for visiting the studio."}'
```

### CLI

```sh
pnio inbox reviews reply "$REVIEW_ID" --text "Thank you for visiting the studio."
```

### MCP execute

```js
async () => {
  const reviewId = "<reviewId>";
  // One key per intent; reuse it only to retry this same request.
  const idempotencyKey = crypto.randomUUID();
  const response = await codemode.request({
    method: "POST",
    path: `/api/v1/inbox/reviews/${reviewId}/replies`,
    query: { workspaceId: codemode.workspaceId },
    headers: { "Idempotency-Key": idempotencyKey },
    body: { text: "Thank you for visiting the studio." },
  });
  return response.data;
};
```

## Errors

It declares no problem of its own.

It declares the problems [every Inbox operation](https://pubnio.com/docs/reference/#inbox) and [most operations](https://pubnio.com/docs/reference/#shared-problems) declare.

## Idempotency

Required. A retry with the same `Idempotency-Key` returns the first result for 24 hours. Make one key per intent, such as `crypto.randomUUID()` or Python's `uuid4()`, and reuse it only to retry the same request. See [Idempotency](https://pubnio.com/docs/concepts/idempotency/).

## Limits

- Field lengths and ranges are in the [OpenAPI document](https://pubnio.com/api/v1/openapi).

## Related

- [Inbox operations](https://pubnio.com/docs/reference/#inbox)

Source: https://pubnio.com/docs/reference/inbox-reviews-reply/index.mdx
