Integrations & API

Connect TrustGainz with your favorite platforms. Our powerful API and pre-built integrations make it easy to automate review collection across Trustpilot, Google Reviews, and your entire tech stack.

Platform Integrations

Trustpilot API

Full API integration with Trustpilot for automated review invitations, business unit management, and webhook notifications.

  • Send invitations via API
  • Retrieve reviews
  • Webhook support
🔍

Google Reviews

Connect with Google Business Profile API for managing reviews across all your Google locations.

  • Google Business Profile API
  • Location management
  • Review monitoring
🛒

E-commerce

Native integrations for Shopify, WooCommerce, Magento, and BigCommerce with webhook support.

  • Shopify app
  • WooCommerce plugin
  • Magento extension

Trustpilot API Documentation

📋 API Overview

The Trustpilot API allows you to programmatically manage reviews, invitations, and business units. Key capabilities include:

  • Send automated review invitations to verified customers
  • Retrieve and manage reviews across multiple business units
  • Set up webhook notifications for new reviews
  • Track invitation delivery and response rates

🔐 Authentication

All API requests require authentication using your API key:

Authorization: Bearer YOUR_API_KEY Content-Type: application/json

Base URL

https://api.trustpilot.com/v1/

📨 Send Invitation

POST /invitations

Send a review invitation to a customer:

{ "referenceId": "order_12345", "consumerEmail": "customer@example.com", "consumerName": "John Doe", "templateId": "your_template_id", "locale": "en-US" }

Response

{ "id": "inv_abc123", "status": "sent", "createdAt": "2025-03-02T10:00:00Z" }

📊 Get Reviews

GET /business-units/{businessUnitId}/reviews

Retrieve reviews for a specific business unit:

// Query parameters ?stars=5&perPage=20&page=1&orderBy=createdat.desc

Rate Limits

  • Standard: 100 requests per minute
  • Enterprise: 500 requests per minute

🔔 Webhooks

Configure webhooks to receive real-time notifications:

{ "eventType": "review.created", "businessUnitId": "your_business_unit_id", "review": { "id": "review_123", "stars": 5, "consumer": { "displayName": "John D." } } }

Google Reviews Integration

🔍 Google Business Profile API

Manage your Google reviews through the Google Business Profile API. Features include:

  • Read and reply to reviews
  • Monitor multiple locations
  • Get review notifications
  • Track review insights

Setup Requirements

  1. Google Cloud Platform account
  2. Google Business Profile API enabled
  3. OAuth 2.0 credentials
  4. Business verification completed

E-commerce Integrations

🛍️

Shopify

One-click installation from the Shopify App Store. Auto-sync orders and trigger review requests after delivery.

Get App
🔌

WooCommerce

WordPress plugin with seamless integration. Trigger invitations based on order status changes.

Download Plugin
📦

Custom API

REST API for custom integrations. Webhook support for real-time order sync.

View Docs

Need Help with Integration?

Our team can help you set up custom integrations and API connections.

Contact Support Book a Demo