Skip to main content

TrustPilot

Prerequisites

  • Trustpilot API Token or Zendesk OAuth 2.0 redentials
  • Trustpilot Business Unit URLs

Authentication methods

You can either authenticate with API key or with OAuth 2.0. Setting up OAuth 2.0 is a bit more complex but will give you access to more streams.

Setup guide

Step 1: Set up your Trustpilot App

Create a Trustpilot App as described in Trustpilot docs.

Enter the API key in the Airbyte source configuration "API key". In case you want to use OAuth 2.0 authentication, copy the API secret as well.

Step 2: Requesting OAuth 2.0 refresh token (Optional)

Request the OAuth 2.0 request token by sending the following HTTP request:

GET https://api.trustpilot.com/v1/oauth/oauth-business-users-for-applications/accesstoken
Authorization: Basic base64(apikey:secret)
Content-Type: application/x-www-form-urlencoded

grant_type=password&username=YOUR_TRUSTPILOT_USERNAME_OR_LOGIN_EMAIL_HERE&password=YOUR_TRUSTPILOT_PASSWORD_HERE

When succeeded, it will return a json object. Extrat the properties access_token, refresh_token.

Fill now the missing configuration fields in the Airbyte source configuration. As token expiry date, use the current time + 4 days (or calculate it yourself by calculating the date time of request add the seconds given in property expires_in).

Supported sync modes

The Trustpilot source connector supports the following sync modes:

  • Full Refresh
  • Incremental Sync

Supported Streams

This Source is capable of syncing the following Streams:

Performance considerations

The connector is restricted by Trustpilot rate limit guidelines.

The Trustpilot connector should not run into any limits under normal usage. Please create an issue if you see any rate limit issues that are not automatically retried successfully.

Reference

Config fields reference

Field
Type
Property name
object
credentials
array<string>
business_units
string
start_date

Changelog

Expand to review
VersionDatePull RequestSubject
0.2.112024-09-2145789Update dependencies
0.2.102024-09-1445558Update dependencies
0.2.92024-09-0745227Update dependencies
0.2.82024-08-3145007Update dependencies
0.2.72024-08-2444686Update dependencies
0.2.62024-08-1744253Update dependencies
0.2.52024-08-1243819Update dependencies
0.2.42024-08-1043618Update dependencies
0.2.32024-08-0343213Update dependencies
0.2.22024-08-0542855Fix refresh token URL
0.2.12024-07-2740267Update dependencies
0.2.02024-08-0136200Migrate to Low Code
0.1.12024-05-2138487[autopull] base image + poetry + up_to_date
0.1.02023-03-1624009Initial version