Base URL
All API requests should be made to:Authentication
All API endpoints are authenticated using anAuthorization header with your API key. Note that you should pass the API key directly without the ‘Bearer’ prefix.
API Key Types
There are two types of API keys:-
Company API Key: Used for company-level operations including:
- Agent management (agents, files, integrations, tools)
- Module instances
- Contacts and conversations
- Call logs, chat logs, and transcripts
- Company settings, staff, and phone numbers
-
Agency API Key: Required for all agency-level operations (
/agency/*endpoints) including:- Agency settings management
- Managing companies under your agency
- Agency admin invitations
- Agency phone number management
Example Request
API Endpoints
The Callgency AI API is organized into the following categories:Agent Management
Create, manage, and configure AI agents (chatbots and voicebots) for your platform.Contacts
Manage contacts and their information across your agents and conversations.Conversations
Access conversation history, transcripts, and chat logs from your AI agents.Module Instances
Configure and manage module instances for advanced agent capabilities.Settings
Manage company settings, staff, and system configurations.Agency Management
Manage your agency account, companies, and agency-level settings.Rate Limits
API requests are rate-limited to ensure fair usage. Current limits:- Starter: 100 requests per minute
- Growth: 1,000 requests per minute
- Enterprise: Custom limits available

