Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration.

Setup

  1. Get an eTrusted account: You need a Trusted Shops membership with access to the eTrusted Control Centre at https://app.etrusted.com/.
  2. Generate API credentials: Follow https://developers.etrusted.com/docs/generating-api-credentials to create an API client in the Control Centre. You receive a client ID and a client secret.
  3. Set environment variables: Add ETRUSTED_CLIENT_ID and ETRUSTED_CLIENT_SECRET to your .env. Access tokens are minted automatically from https://login.etrusted.com/oauth/token via the OAuth2 client_credentials grant with audience https://api.etrusted.com.
  4. Verify access: Run List Channels - it requires no parameters and returns the channels (chl-… IDs) you will use to filter reviews and send invites.
  • Access tokens expire after 300 seconds (5 minutes); they are refreshed automatically per request session.
  • The token request must include audience=https://api.etrusted.com alongside client_id, client_secret, and grant_type=client_credentials.
  • Review invites require an invite template and questionnaire template configured in the Control Centre; every invite must include both template.id and questionnaireTemplate.id.
Provider API reference: https://developers.etrusted.com/

Tools

Example prompts

  • List my most recent Trusted Shops reviews and summarize ratings and common themes.
  • Show Trusted Shops reviews with 1 or 2 stars from the last 30 days that have no reply yet.
  • List my Trusted Shops channels and show the 365-day aggregate rating for each.