System

API Access

ReviewPilot exposes a REST API for enterprise operators who need programmatic access to their review data, response logs, and account management.

Authentication

All API requests must include your user_id as a query parameter or in the request body. Enterprise API keys are available on request for server-to-server integrations.

GET /dashboard/{user_id} # Fetch dashboard state POST /fetch-and-generate/{user_id} # Trigger review sync + AI generation POST /approve-review # Approve queued response POST /mark-posted # Mark a response as manually posted POST /set-approval-mode # Toggle autonomous / approval mode

Endpoints

GET /dashboard/{user_id}

Returns the full dashboard state: subscription status, Google connection status, approval mode, pending reviews, approval queue, and historical deployment ledger.

POST /fetch-and-generate/{user_id}

Manually triggers the full pipeline: polls Google for unanswered reviews, runs AI response generation, and either auto-posts or queues for approval depending on your mode setting.

POST /approve-review

Approves and deploys a queued review response. Body: {"review_id": "...", "user_id": "..."}

POST /set-approval-mode

Toggles between Autonomous mode and Approval Mode. Body: {"user_id": "...", "approval_mode": true}

Enterprise API Access

Managing 5+ locations? We offer dedicated API keys, webhook callbacks, and a white-label option for hospitality groups and franchise operators.

REQUEST ENTERPRISE ACCESS