Skip to main content

Overview

All Intellibase API requests require authentication using API keys. API keys are generated from the Intellibase Dashboard and provide programmatic access to your projects and data.

Getting Your API Key

1

Log in to the Dashboard

Navigate to the Intellibase Dashboard and sign in with your account.
2

Navigate to API Keys

Go to the API Keys section in the dashboard sidebar.
3

Create a New Key

Click Create API Key, give it a descriptive name, and optionally set an expiration date.
4

Copy Your Key

Copy the API key immediately - it starts with ib-.
Store your API key securely!
  • Never commit it to version control
  • Don’t share it in public forums or code
  • Use environment variables to store it
  • Rotate keys periodically for security

Using API Keys

Authorization Header

Include your API key in the Authorization header as a Bearer token:
curl https://api.intellibase.dev/api/v1/projects \
  -H "Authorization: Bearer ib-your-api-key-here"

Code Examples

  • Python
  • TypeScript
  • cURL
import os
import requests

# Load API key from environment variable
API_KEY = os.environ.get("INTELLIBASE_API_KEY")

headers = {
    "Authorization": f"Bearer {API_KEY}",
    "Content-Type": "application/json"
}

response = requests.get(
    "https://api.intellibase.dev/api/v1/projects",
    headers=headers
)

if response.status_code == 200:
    projects = response.json()["projects"]
    print(f"Found {len(projects)} projects")
elif response.status_code == 401:
    print("Invalid API key")
else:
    print(f"Error: {response.status_code}")