Esta guía está disponible en inglés.
Send a Review Invite via API
Add a customer to a review-invite campaign with the Synup API once a visit completes, and the domain and number verification that gating requires.
De un vistazo
- Qué logra esta guía
- Add a customer to a published review campaign so Synup sends them an invite by email or SMS.
- APIs utilizadas
- post
/api/v1/review-invitesAgregar destinatarios a una campaña - post
/api/v1/review-invites/campaignsCrear una campaña - post
/api/v1/review-invites/campaigns/{id}/actionEjecutar una acción del ciclo de vida de la campaña
- post
- Referencia
- Review Invites
- Requisitos previos
- An API key with write access
- A published campaign, on a client with a verified domain or number
- Casos de uso habituales
- Triggering an invite from a point-of-sale or booking webhook
- Asking for a review after a completed visit
- Feeding recipients from your own CRM
Sending an invite is adding a recipient to a campaign that is already running. Adding recipients is distinct
from sending: only a launched email_sms campaign with autoSend enabled triggers the send pipeline when
recipients are added. SMS requires an smsConsent attestation; email does not.
POST /api/v1/review-invites takes a campaign id and a batch of people. The call you make from a
booking or point-of-sale webhook is just this one.
curl -X POST https://ai.synup.com/api/v1/review-invites \
-H "Authorization: Bearer $SYNUP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"campaignId": "CAMPAIGN_ID",
"recipients": [
{ "name": "Jordan Lee", "email": "jordan@example.com", "phone": "+14155550123", "contactType": "Customer" }
],
"smsConsent": { "by": "front-desk@grovestreetdental.example" }
}'The response returns data.count (records inserted), data.duplicates (repeats within the batch) and
data.alreadyPresent (skipped because the email or phone already exists in the campaign). These counters do
not confirm delivery. You can safely retry a webhook without sending someone two invites.
The campaign has to exist and be published first, and that is a one-time setup, not something you do per invite.
POST /api/v1/review-invites/campaigns makes the draft and POST /api/v1/review-invites/campaigns/{id}/action with
op: "publish" launches it.
Invites are one half of a review programme. Replying to what comes back is the other. See the reviews workflow guide for the full fetch-and-reply loop, and the reputation platform guide for campaigns, screening and widgets end to end.