Skip to main content
All CAMB.AI API requests require authentication using an API key. This guide explains how to obtain and use your API key.

Getting Your API Key

  1. Go to CAMB.AI Studio
  2. Sign in or create an account
  3. Navigate to your account settings
  4. Generate or copy your API key
Keep your API key secure. Never expose it in client-side code or public repositories.

Using Your API Key

Include your API key in the x-api-key header of every request.

Header Format

Example Request

SDK Authentication

When using the official SDKs, pass your API key during client initialization.

Error Responses

Example Error Response

Best Practices

Use environment variables or secure secret management systems.
Generate new API keys regularly and revoke old ones.
Create different API keys for development, staging, and production.
Check your API usage in CAMB.AI Studio to detect unauthorized access.

Next Steps

Quick Start

Make your first API call

SDK Guide

Use our official SDKs
Last modified on May 11, 2026