Ghost ID Docs
Product documentation
Back to Dashboard

API Reference

Ghost ID provides a REST API for programmatic access to your analytics data. All endpoints require authentication via session cookie.

๐Ÿ”‘ Authentication

Ghost ID uses session-based authentication. Sign in to Ghost ID in your browser, then send requests with the same active session cookie. No separate API token is required for the endpoints documented here.

โ„น๏ธ

Requests made without a valid session cookie return an authentication error or an empty result set depending on the endpoint.

๐ŸŒ Base URL

Text
https://analytics.ghostid.ai

๐Ÿงช Example

Bash
curl --request GET \
  --url https://analytics.ghostid.ai/api/sites \
  --cookie "session=YOUR_SESSION_COOKIE"

๐Ÿ“– Reference Sections