Build your integration / Set up review requests
GUIDE

Set up review requests

Read GET /v2/pub/settings/review-requests to see whether review requests are set up. An account with the review requests feature returns configuration: null until its first setup.

To set up Google reviews by text, send a POST to the same path with your own review links. The public URL is where people can read reviews. The customer URL opens the form for leaving one.

{
  "reviewConfig": {
    "reviewSourceType": "GOOGLE",
    "reviewSourcePublicUrl": "https://example.com/our-reviews",
    "reviewRequestCustomerUrl": "https://example.com/leave-a-review",
    "reviewRequestAgentPrompt": "Ask the customer how their service went.",
    "reviewRequestMediumType": "SMS"
  }
}

Review requests start enabled. To pause them, send PATCH /v2/pub/settings/review-requests with {"enabled": false}. To change only the delivery method, send {"reviewConfig":{"reviewRequestMediumType":"EMAIL"}}.

When creating or editing settings, include the last version as expectedVersion if you want to catch another edit before saving. If you get 409 VERSION_CONFLICT, read the settings again and apply your change to the latest version.

Guides & API endpoints Esc to close