Skip to main content

Authentication

CubeStack supports two access modes: public access and API key authentication.

Public Access

If a cube has public access enabled, you can fetch records without authentication. Public access only exposes fields explicitly marked as public.

API Key Authentication

For full access to your data, use an API key. Pass it in the X-Api-Key header:

Getting Your API Key

  1. Navigate to your project in the admin panel
  2. Go to Settings > API Keys
  3. Click Generate New Key
  4. Copy and store the key securely — it won’t be shown again
Keep your API keys secret. Never expose them in client-side code or public repositories.

Access Levels

Next Steps

First Request

Make your first authenticated API request