Review Collect API

Programmatic access to the data of your Review Collect account, from your own tools, warehouse or scripts.

Introduction

The API is organised around resources. Each resource has its own section below with its object definition and endpoints. Requests go over HTTPS and responses are JSON.

Base URL
https://api.review-collect.com/api:v1
Format
JSONtimestamps ISO 8601 in UTC, ids as strings
Versioning
v1in the base URL. Fields and endpoints can be added without a version change, so ignore fields you do not know.
OpenAPI
openapi.yamlOpenAPI 3.1. Import it into Postman or generate a client.

Quickstart

  1. Get your API key from your account manager. It is bound to your account: keep it server side.
  2. Make a call. The key goes in the X-Api-Key header.
curl "https://api.review-collect.com/api:v1/invitations?limit=100" \
  -H "X-Api-Key: $RC_API_KEY"
  1. Read the response. data holds invitation objects, has_more and next_cursor drive pagination.

Authentication

Every request carries your API key in the X-Api-Key header. A key is bound to one Review Collect account and gives access to that account's data only. Keep it server side, never in a browser or a mobile app.

A missing or unknown key returns 401, a key of an inactive account returns 403.

Pagination

List endpoints share one envelope and two parameters: limit, 1 to 1000 objects per page, and cursor, the next_cursor of the previous page.

{
  "object": "list",
  "data": [ … ],
  "has_more": true,
  "next_cursor": "8448610"
}

Call again with cursor while has_more is true. The cursor is the last id of the page, so a walk stays consistent while new objects are being created. The same filters apply to every page.

Rate limits

Each API key can make 300 requests per minute. Every response carries the limit in the X-RateLimit-Limit header. Above the limit, requests get a 429 with a Retry-After header, in seconds. Wait that long and retry: the window is one minute, nothing is lost.

A full history stays well within the limit: 100,000 invitations are 100 pages of 1000, loaded one after the other in a few minutes.

HTTP/2 429
X-RateLimit-Limit: 300
Retry-After: 60

{
  "code": "ERROR_CODE_TOO_MANY_REQUESTS",
  "message": "Rate limit exceeded: 300 requests per minute per API key. Retry in a minute."
}

Errors

Errors use HTTP status codes and a JSON body with a readable message.

StatusCodeWhen
400ERROR_CODE_BAD_REQUESTA query parameter is invalid. The message names it.
401ERROR_CODE_UNAUTHORIZEDMissing or unknown API key.
403ERROR_CODE_ACCESS_DENIEDThe account is inactive.
404ERROR_CODE_NOT_FOUNDUnknown path or resource.
429ERROR_CODE_TOO_MANY_REQUESTSOver 300 requests per minute. See Rate limits.

Example

{ "code": "ERROR_CODE_BAD_REQUEST", "message": "limit must be an integer between 1 and 1000." }

The invitation object

Everything that happened to one customer for one order: the messages sent, the customer's feedback and the review that followed.

FieldTypeDescription
idstringUnique, increasing. Used as the pagination cursor.
statusstringFurthest step reached.
  • sentat least one message went out
  • clickedthe customer opened the review page
  • revieweda rating was left
Never goes back: a rated invitation stays reviewed.
sourcestringWhere the invitation came from.
  • shopify prestashop woocommerce magento salesforce hubspotstore or CRM integration
  • gsheets sftp aws_s3file batch
  • qr_codescanned QR code
  • apisent through the API
qr_codeobject, nullableThe scanned QR code, when source is qr_code.
  • idQR code id
  • namename given in the app
customerobjectThe person contacted. Each field may be null.
  • namefull name
  • emailemail address
  • phoneE.164, for example +33612345678
  • countryISO 3166-1 alpha-2, for example FR
  • languageISO 639-1, for example fr
orderobject, nullableThe order behind the invitation. Null for file batches and QR codes.
  • idorder id in the store
  • numberorder number as the customer sees it
  • created_atorder date
  • productsarray of external_id (product id in the store) and title
locationobject, nullablePoint of sale, for multi-location accounts.
  • location_idlocation id
  • location_namelocation name
messagesarrayMessages handed to the channel, in order. Delivery status is not included. Each has step, channel and sent_at.
  • stepone of initial reminder_1 reminder_2 reminder_3
  • channelone of email sms whatsapp. Accounts sending WhatsApp through their own provider see the provider name instead.
sent_atdatetimeDate of the initial message.
clicked_atdatetime, nullableLast opening of the review page. Overwritten on every visit, including the one where the rating is left.
reviewobject, nullableThe feedback left on Review Collect. Null until the customer rates.
  • rating1 to 5
  • commentfree text, may be null
  • submitted_atwhen the rating was left
routingobject, nullableWhat followed the feedback, as configured in your Review Routing settings. Null until the customer rates. Detailed below.
created_atdatetimeCreation of the invitation.
updated_atdatetimeLatest event on the invitation. Drives the since filter. Moves on creation, each message sent, each opening of the review page, the rating and the Trustpilot match. A reply on Trustpilot does not move it.

Routing

FieldTypeDescription
typestring
  • redirectthe customer was taken to a public review page
  • notificationyou were notified
  • help_pagethe customer was shown your help page
  • nonenothing followed
destinationstring, nullableDepends on type.
  • redirecttrustpilot google judge_me app_store google_play custom_url indeed glassdoor poulpeo
  • notificationemail sms slack zendesk gorgias crisp
publishedboolean, nullableTrustpilot only.
  • truethe review was found on Trustpilot
  • falsenot found so far
  • nullnot applicable, or Trustpilot API not connected
false becomes true once the review is matched. It goes back to false only if the review disappears from Trustpilot.
published_reviewobject, nullableThe Trustpilot review, once found.
  • idTrustpilot review id
  • rating1 to 5, as given on Trustpilot
  • title textreview title and body
  • urlpublic link to the review
  • published_atpublication date
  • reply replied_atyour reply and its date, null if none

published and published_review are filled only if the Trustpilot API is connected to Review Collect, which requires Trustpilot's paid Connect module. Reviews are matched to invitations by customer email, with up to 24 hours of delay.

Full example
{
  "object": "invitation",
  "id": "8448604",
  "status": "reviewed",
  "source": "shopify",
  "qr_code": null,
  "customer": { "name": "Marie Dupont", "email": "marie@example.com", "phone": null, "country": "FR", "language": "fr" },
  "order": {
    "id": "6507661234",
    "number": "650766",
    "created_at": "2026-07-25T14:31:32Z",
    "products": [ { "external_id": "sku-e3-1", "title": "Matelas 140x190" } ]
  },
  "location": null,
  "messages": [
    { "step": "initial",    "channel": "whatsapp", "sent_at": "2026-07-28T14:34:43Z" },
    { "step": "reminder_1", "channel": "email",    "sent_at": "2026-07-30T09:00:00Z" }
  ],
  "sent_at": "2026-07-28T14:34:43Z",
  "clicked_at": "2026-07-28T14:36:00Z",
  "review": { "rating": 5, "comment": "Livraison rapide, matelas top.", "submitted_at": "2026-07-28T14:36:00Z" },
  "routing": {
    "type": "redirect",
    "destination": "trustpilot",
    "published": true,
    "published_review": {
      "id": "68a1f2c3d4e5f60012ab34cd",
      "rating": 5,
      "title": "Très bon matelas",
      "text": "Livraison rapide, matelas très confortable.",
      "url": "https://fr.trustpilot.com/reviews/68a1f2c3d4e5f60012ab34cd",
      "published_at": "2026-07-29",
      "reply": "Merci Marie !",
      "replied_at": "2026-07-30"
    }
  },
  "created_at": "2026-07-28T14:34:43Z",
  "updated_at": "2026-07-30T06:12:00Z"
}

List invitations

Returns the invitations of the account, one per customer contacted for an order, or per contact for file batches and QR codes, sorted by id ascending.

GET/api:v1/invitations

Query parameters

All optional, combinable. Dates are ISO 8601: 2026-10-01 means midnight UTC, 2026-10-01T08:00:00+02:00 works too.

ParameterTypeDescription
limitintegerObjects per page, 1 to 1000. Default 100.
cursorstringThe next_cursor of the previous page.
sincedatetimeInvitations updated on or after this instant. For incremental loads.
fromdatetimeInvitations sent on or after this instant.
todatetimeInvitations sent strictly before this instant.
statusstringsent clicked reviewed
channelstringChannel of the initial message.email sms whatsapp
sourcestringshopify prestashop woocommerce magento salesforce hubspot gsheets sftp aws_s3 qr_code api
ratingintegerRating left on Review Collect, 1 to 5.
order_numberstringExact order number as shown in the store.

Examples

# Everything that changed since yesterday, for an incremental sync
curl "https://api.review-collect.com/api:v1/invitations?since=2026-10-21T00:00:00Z&limit=1000" \
  -H "X-Api-Key: $RC_API_KEY"
# Invitations sent in September that got a rating
curl "https://api.review-collect.com/api:v1/invitations?from=2026-09-01&to=2026-10-01&status=reviewed" \
  -H "X-Api-Key: $RC_API_KEY"
# One order, for a support lookup
curl "https://api.review-collect.com/api:v1/invitations?order_number=650766" \
  -H "X-Api-Key: $RC_API_KEY"

Response

{
  "object": "list",
  "has_more": true,
  "next_cursor": "8448610",
  "data": [
    {
      "object": "invitation",
      "id": "8448604",
      "status": "reviewed",
      "source": "shopify",
      "sent_at": "2026-07-28T14:34:43Z",
      "review": {
        "rating": 5,
        "comment": "Livraison rapide, matelas top.",
        "submitted_at": "2026-07-28T14:36:00Z"
      },
      "routing": {
        "type": "redirect",
        "destination": "trustpilot",
        "published": true,
        "published_review": { … }
      },
      …
    }
  ]
}

Each item is an invitation object. Paginate as described in Pagination.

Incremental sync

  1. First run. Walk all pages with limit=1000 until has_more is false. 100,000 invitations take about 100 calls.
  2. Next runs. Pass the start time of the previous run, minus five minutes for clock differences, as since. It filters on updated_at, so an invitation sent in April and rated in October comes back in October's run. An invitation updated while a run is in progress gets an updated_at after that run's start, so the next run picks it up.
  3. Upsert on id. The same invitation comes back each time it changes, and the overlap between runs returns some rows twice. Writing them again is harmless.

from and to filter on the sending date. Use them for reporting, not for syncing.