Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.callprep.app/llms.txt

Use this file to discover all available pages before exploring further.

Generating an API key

  1. Go to API Keys in the dashboard
  2. Click Generate new key
  3. Enter your product URL — we’ll automatically extract your product name and description
  4. Review the generated product context (name, description, key features, target customers)
  5. Click Create key
Your key will be shown once. Copy it immediately and store it securely.
If you lose your API key, you’ll need to generate a new one. There is no way to retrieve an existing key after it’s been shown.

Product context

Each API key is tied to a product context — the name, description, key features, and target customers of your product. This context is sent to an AI agent for every research request, so all generated insights (synergy points, discovery questions, opening talks) are personalised to your specific product. You can have multiple keys with different product contexts — useful if you sell multiple products or to different market segments.

Key format

cp_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Keys always start with cp_live_ followed by 42 random characters.

Using your key

Pass your key as a Bearer token in the Authorization header:
curl -H "Authorization: Bearer cp_live_..." \
  https://rpiqzfzokrwxavztrpmp.supabase.co/functions/v1/research-status/res_xxx

Key limits by plan

PlanAPI keys
Free1
Starter3
Growth10
ScaleUnlimited

Security best practices

API keys should only be used server-side. Never include them in browser JavaScript, mobile apps, or public repositories. Use environment variables instead.
# .env
CALLPREP_API_KEY=cp_live_...
Generate a new key periodically and update your integrations. Delete old keys from the dashboard once they’re no longer in use.
Use different keys for development, staging, and production. This way you can revoke a compromised dev key without affecting production.
Immediately delete the key from the dashboard and generate a new one. Check your research logs in the dashboard to identify any unauthorised usage.

Revoking a key

Go to API Keys in the dashboard, find the key and click Revoke. Revocation is immediate — any requests using that key will return 401 invalid_key.