Skip to main content
EthioReview uses OAuth-style API clients per organization — not user session tokens for integrations.

Credential types

TypePrefixUse inAccess
Publishable keypk_live_* / pk_test_*Browser widget, iframeRead-only reviews/ratings
Secretsk_live_* / sk_test_*Your backend onlyRead + write (scoped)
Never expose sk_* secrets in client-side JavaScript, mobile apps, or public repos. Only the publishable key belongs in embed code.

Browser widget auth

GET /api/v1/widgets/businesses/{orgId}/reviews
X-Widget-Key: pk_live_...
Origin: https://www.yoursite.com
The server validates the publishable key and checks Origin against the client’s allowedOrigins.

Server-to-server auth

GET /api/v1/partner/organizations/{orgId}/reviews
Authorization: Bearer sk_live_...
Used for:
  • Fetching testimonials on your server (SSR, CMS)
  • Ingesting reviews via POST /api/v1/partner/reviews

Scopes

Default scopes on create: reviews:read, reviews:write.
ScopeAllows
reviews:readWidget + partner read endpoints
reviews:writePartner review ingestion

Managing credentials

ActionAPI
CreatePOST /api/v1/api-clients
ListGET /api/v1/api-clients
Rotate secretPOST /api/v1/api-clients/{id}/rotate-secret
RevokePOST /api/v1/api-clients/{id}/revoke
Requires org admin permissions and plan feature api_access. Environments →