Cue
Getting Started

Authentication

Set up API key authentication for the Cue API.

All API requests require authentication using an API key. You'll pass the key in the Authorization header as a Bearer token.

Get your API key

  1. Log in to the Cue dashboard
  2. Go to Settings → API
  3. Click New Key
  4. Give it a name (e.g., "n8n production")
  5. Copy the key immediately - you won't see it again

Use your API key

Include the key in the Authorization header of every request:

curl https://api.oncue.so/v1/posts \
  -H "Authorization: Bearer cue_sk_your_key_here"
const response = await fetch("https://api.oncue.so/v1/posts", {
  headers: {
    Authorization: "Bearer cue_sk_your_key_here",
  },
});

Key format

API keys follow this format:

cue_sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  • cue_sk_ - Fixed prefix identifying Cue API keys
  • 32 alphanumeric characters - The unique key value

Security best practices

  • Never commit keys - Use environment variables, not hardcoded strings
  • Use separate keys - Create different keys for development and production
  • Rotate regularly - Revoke and recreate keys periodically
  • Limit access - Only share keys with people who need them

Revoking keys

If a key is compromised:

  1. Go to Settings → API
  2. Find the compromised key
  3. Click the trash icon to revoke it
  4. Create a new key and update your integrations

Revoked keys stop working immediately.

Next steps

On this page