API Documentation

Integrate TrustPilot AI into your applications with our RESTful API

Endpoints

Authentication

Base URL

https://api.trustpilot-ai.com
POST/api/auth/token

Generate API access token

Headers

Authorization: Bearer YOUR_ACCESS_TOKEN
Content-Type: application/json

Request Body

{
  "client_id": "your_client_id",
  "client_secret": "your_client_secret"
}

Response

{
  "access_token": "eyJhbGc...",
  "token_type": "Bearer",
  "expires_in": 3600
}