huhu.ai
AdvancedAPI

API Authentication

6 min readTutorialUpdated 2025-03-20

Overview

This guide covers how to authenticate with the huhu.ai API using API keys. All API requests require authentication to identify your account and apply rate limits.

API Keys

Generate API keys from your dashboard under Settings > API. Each key is scoped to a specific project and can be revoked at any time. Keep your API keys secure and never expose them in client-side code.

Authentication Flow

Include your API key in the Authorization header of every request: Authorization: Bearer YOUR_API_KEY. The API will return a 401 error if the key is missing or invalid.

Rate Limits

Free tier accounts are limited to 100 requests per hour. Pro accounts get 1,000 requests per hour, and Enterprise accounts have custom limits. Rate limit headers are included in every response.