Skip to main content
Skip to the article

Developer platform

Review request webhook

Post a customer to a private URL and Repliq emails them a link to review your business on Google, under the same rules as a manual send.

4 min readUpdated on

What it is

A public endpoint that accepts one customer per call, from your own system or from the webhook of a store, payment or booking tool. It goes through exactly the same dispatch as the app: opt-outs, the 30-day repeat window, the plan’s monthly allowance and reminders all apply, so an automation can never ask anyone more often than you could by hand.

Endpoint

POST
https://repliqds.com/api/integrations/review-requests/{integration_key}
https://repliqds.com/api/integrations/review-requests

Most tools can only call a URL, so the key goes in the path. If your system can set headers, use the second URL with Authorization: Bearer rq_….

Authentication

  • The integration key has the form rq_ followed by 43 URL-safe characters. It is shown once when you create it in Repliq → Integrations; only its SHA-256 hash is stored.
  • Each key belongs to one location and can be revoked at any time. A revoked or unknown key is answered with 401.
  • The key is the credential: Repliq does not verify the signature of Shopify, Stripe, Square or Calendly on this endpoint. Keep the URL secret and revoke it if it leaks.

Request

Send Content-Type: application/json (up to 1 MB) or a form-encoded body (up to 64 KB; this lets WooCommerce’s verification ping through). Repliq reads the customer from fixed paths only; fields outside them are ignored.

Flat payload

curl -sS -X POST https://repliqds.com/api/integrations/review-requests/$REPLIQ_INTEGRATION_KEY \
  -H "Content-Type: application/json" \
  -d '{"email":"maria@example.com","name":"Maria","locale":"es"}'
emailrequired · string (email, ≤ 254)
The customer’s email. Without it the delivery is acknowledged and ignored.
nameoptional · string (≤ 80)
First name used in the greeting.
localeoptional · `es` | `en` | `zh`
Language of the email. Falls back to the integration’s language.

Aliases such as customer_email, customerName or language are also read, and so are the nested shapes of the tools below.

Shapes understood

ToolEventFields read
Shopifyorders/fulfilledcustomer.email or contact_email; customer.first_name
WooCommerceorder.updated with status completedbilling.email; billing.first_name
Stripecheckout.session.completed, invoice.paiddata.object.customer_details.email / name; also customer_email, receipt_email, billing_details
Squarecustomer.createddata.object.customer.email_address / given_name
Calendlyinvitee.createdpayload.email / name; payload.scheduled_event.end_time

Examples

Shopify (fulfilled order)
{
  "id": 1001,
  "cancelled_at": null,
  "financial_status": "paid",
  "contact_email": "maria@example.com",
  "customer": {
    "email": "maria@example.com",
    "first_name": "Maria"
  }
}
Stripe (checkout.session.completed)
{
  "type": "checkout.session.completed",
  "data": {
    "object": {
      "payment_status": "paid",
      "customer_details": {
        "email": "maria@example.com",
        "name": "Maria Garcia"
      }
    }
  }
}
Calendly (invitee.created)
{
  "event": "invitee.created",
  "payload": {
    "email": "maria@example.com",
    "name": "Maria Garcia",
    "status": "active",
    "scheduled_event": {
      "end_time": "2026-12-01T10:30:00.000000Z"
    }
  }
}

The Calendly booking is held and sent 2 hours after end_time; Repliq returns scheduled with the time. A cancellation withdraws it. Bookings more than 60 days ahead are acknowledged without being held. These payloads are checked against the real mapping in Repliq’s test suite.

Response

Every delivery Repliq understood is answered with `202 Accepted`, including the ones that send nothing, so that senders do not retry and then disable your webhook.

`status`MeaningExtra fields
sentThe email was sent.reminderScheduled, remaining
scheduledHeld for later (a booking, or a scheduled send).scheduledFor (ISO 8601), reminderScheduled, remaining
skippedNothing was sent.reason: opted_out, recently_asked or quota_exceeded; remaining
ignoredNot a completed purchase or booking, or no usable email.reason: no_email, invalid_email or not_completed; withdrawn when a cancellation removed a held request
202
{
  "status": "sent",
  "reminderScheduled": true,
  "remaining": 187
}

Errors

HTTPCodeMeaningWhat to do
400validationThe body could not be read as a customer or an ignorable event.Send a JSON object.
401REVIEW_REQUEST_INTEGRATION_UNAUTHORIZEDKey missing, malformed, unknown or revoked, or the workspace is archived.Create a new key and update the sender.
402REVIEW_REQUEST_INTEGRATIONS_PLAN_REQUIREDThe workspace has no active Pro, MAX or Agency plan.Start the trial or a plan.
429rate limitMore than 600 deliveries in an hour for this key.Retry later.
503REVIEW_REQUEST_INTEGRATIONS_UNAVAILABLETemporary failure; the delivery was not processed.Retry with backoff.

Test before you go live

In Integrations, the tester takes a sample payload and shows the customer Repliq detects and whether it would be ignored. It sends nothing. See also Limits and errors.

Endpoint, status codes, payload paths and examples checked against the webhook controller and the mapping tests.

Was this page helpful?

Can’t find what you need?

Check the frequently asked questions or write to us and we will help.

Frequently asked questions