Trustpilot Core REST APIs
- URL
-
https://api.trustpilot.com/v1 - Docs
- https://developers.trustpilot.com/
apikey: <credential> For Trustpilot APIs, the API key is your Client ID. For Data Solutions, sign in to Data Solutions, select Create new key, then copy the key; Trustpilot notes the full key is only shown once. For other Trustpilot API products, Trustpilot’s auth docs refer to the API key as the Client ID; obtain it as part of your Trustpilot API access/setup described in Authentication overview and the relevant product onboarding pages.
Authorization: Bearer <credential> Use one of Trustpilot’s OAuth 2.0 flows documented in Authentication overview:
- Server-to-server: use Client credentials with your API key and API secret to mint an access token.
- User-delegated: use Authorization code or Implicit if your app needs a business user to sign in.
Trustpilot returns an access token for use as Authorization: Bearer .... Access tokens expire after 100 hours; refresh tokens are available for some flows per the auth docs.
Authorization: Bearer <credential> + Trustpilot Business user ID x-business-user-id: <credential> discovered Some private Trustpilot endpoints need the business user ID in addition to an OAuth access token when the token was minted with the client_credentials flow. Trustpilot says to open the user’s Trustpilot Business profile page, copy the User ID, and send it either in the x-business-user-id header or request body depending on the endpoint; see Client credentials and endpoint docs such as Invitation API.