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.
Quickstart
- Get your API key from your account manager. It is bound to your account: keep it server side.
- Make a call. The key goes in the
X-Api-Keyheader.
curl "https://api.review-collect.com/api:v1/invitations?limit=100" \
-H "X-Api-Key: $RC_API_KEY"
- Read the response.
dataholds invitation objects,has_moreandnext_cursordrive 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.
| Status | Code | When |
|---|---|---|
| 400 | ERROR_CODE_BAD_REQUEST | A query parameter is invalid. The message names it. |
| 401 | ERROR_CODE_UNAUTHORIZED | Missing or unknown API key. |
| 403 | ERROR_CODE_ACCESS_DENIED | The account is inactive. |
| 404 | ERROR_CODE_NOT_FOUND | Unknown path or resource. |
| 429 | ERROR_CODE_TOO_MANY_REQUESTS | Over 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.
| Field | Type | Description |
|---|---|---|
| id | string | Unique, increasing. Used as the pagination cursor. |
| status | string | Furthest step reached.
reviewed. |
| source | string | Where the invitation came from.
|
| qr_code | object, nullable | The scanned QR code, when source is qr_code.
|
| customer | object | The person contacted. Each field may be null.
|
| order | object, nullable | The order behind the invitation. Null for file batches and QR codes.
|
| location | object, nullable | Point of sale, for multi-location accounts.
|
| messages | array | Messages handed to the channel, in order. Delivery status is not included. Each has step, channel and sent_at.
|
| sent_at | datetime | Date of the initial message. |
| clicked_at | datetime, nullable | Last opening of the review page. Overwritten on every visit, including the one where the rating is left. |
| review | object, nullable | The feedback left on Review Collect. Null until the customer rates.
|
| routing | object, nullable | What followed the feedback, as configured in your Review Routing settings. Null until the customer rates. Detailed below. |
| created_at | datetime | Creation of the invitation. |
| updated_at | datetime | Latest 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
| Field | Type | Description |
|---|---|---|
| type | string |
|
| destination | string, nullable | Depends on type.
|
| published | boolean, nullable | Trustpilot only.
false becomes true once the review is matched. It goes back to false only if the review disappears from Trustpilot. |
| published_review | object, nullable | The Trustpilot review, once found.
|
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.
Query parameters
All optional, combinable. Dates are ISO 8601: 2026-10-01 means midnight UTC, 2026-10-01T08:00:00+02:00 works too.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Objects per page, 1 to 1000. Default 100. |
| cursor | string | The next_cursor of the previous page. |
| since | datetime | Invitations updated on or after this instant. For incremental loads. |
| from | datetime | Invitations sent on or after this instant. |
| to | datetime | Invitations sent strictly before this instant. |
| status | string | sent clicked reviewed |
| channel | string | Channel of the initial message.email sms whatsapp |
| source | string | shopify prestashop woocommerce magento salesforce hubspot gsheets sftp aws_s3 qr_code api |
| rating | integer | Rating left on Review Collect, 1 to 5. |
| order_number | string | Exact 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
- First run. Walk all pages with
limit=1000untilhas_moreis false. 100,000 invitations take about 100 calls. - Next runs. Pass the start time of the previous run, minus five minutes for clock differences, as
since. It filters onupdated_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 anupdated_atafter that run's start, so the next run picks it up. - 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.