Authentication

How to authenticate with the aihubspot API using API keys and JWT tokens.

API Keys

Generate your key from the API Console. All requests use Bearer token authentication.

Key Scopes

ScopeDescription
chat:readRead-only access to chat completions
chat:writeFull chat completions access
billing:readView usage and billing data
adminFull platform access

Keys created in the console have chat:write scope by default.