Before starting, ensure you have the following:
Begin by creating a new application in Trustpilot as outlined in their official documentation.
Once your app is registered:
To obtain an OAuth 2.0 refresh token, issue the following GET request:
yamlCopyEditGET https://api.trustpilot.com/v1/oauth/oauth-business-users-for-applications/accesstoken
Headers:
Authorization: Basic base64_encode(apikey:secret)
Content-Type: application/x-www-form-urlencoded
Body:
grant_type=password&username=YOUR_USERNAME&password=YOUR_PASSWORD
If successful, the response will include a JSON payload containing access_token
and refresh_token
.
Use these values to complete the OAuth configuration fields in your Airbyte source setup. Set the token expiration field to the current timestamp plus four days, or calculate it using the expires_in
value returned in the response.
The Trustpilot source integration supports the following synchronization methods:
Sync Mode | Description |
---|---|
Full Refresh | Pulls all available data |
Incremental Sync | Retrieves only new data |
The connector can sync the following data streams: