Posts (or replaces) your public reply to a Google review of one of your business locations, and returns its moderation state.
curl -X POST "https://api.primaryapi.com/v1/run/google-business.reply_to_review" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"accountId":"2345678901","locationId":"9876543210","reviewId":"AbFvOqk2example","comment":"Sorry to hear that. Please ask for Sam next time and the coffee is on us."}'{
"output": {
"found": true,
"data": {
"name": "accounts/2345678901/locations/98765…",
"replied": true,
"comment": "Sorry to hear that. Please ask for …",
"updateTime": "2026-11-17T10:00:00Z", …
}
},
"credits": 1
}Input and output
5 fields
2345678901.9876543210.AbFvOqk2example.Sorry to hear that. Please ask for Sam ….9 fields
Good to know
Changes your account. This call creates, edits or deletes something in the connected account, live. Confirm before running it. With an Idempotency-Key it never runs twice, and monitors can’t schedule it.
WRITE: publishes a public reply on Google as your business (it replaces your earlier reply to that review, if any).
Needs the Google Business Profile capability. A Google account that manages the location. Works only for verified locations.
Google moderates replies. state is PENDING until approved, or REJECTED with a policyViolation.
Safe to repeat (the last text wins).
An unknown review is a miss.
The same key and credits work for every API.