Important: This is an add-on plugin for AgentLabs. You must purchase and install the main AgentLabs application for this plugin to work.
Buy AgentLabs (Main Required Item)
AgentLabs – REST API Plugin
The REST API Plugin for AgentLabs provides a secure, scalable, and fully documented RESTful interface to integrate AgentLabs with external systems, CRMs, SaaS platforms, and custom applications.
With this plugin, developers can programmatically trigger AI-powered voice calls, manage campaigns, control AI agents, sync contacts, monitor credits, receive real-time webhooks, and access detailed analytics.
Version: 1.0.0
Author: AgentLabs
License: Commercial
Compatibility: AgentLabs >= 3.0.1
Key Capabilities
- Trigger and manage AI voice calls via REST APIs
- Create, start, pause, and monitor bulk calling campaigns
- Manage AI voice agents (Flow & Incoming types)
- Full CRM contact management with CRUD and bulk import
- Monitor credits, usage, and billing metrics
- Subscribe to real-time webhook events
- Access call and campaign analytics programmatically
Telephony Engine Support
- ElevenLabs – High-quality conversational AI voices (29+ languages)
- Plivo + OpenAI Realtime – Optimized for India & APAC regions
- Twilio + OpenAI Realtime – Global coverage with reliable routing
Core API Modules
- Calls API – Trigger calls, fetch history, get call details, hang up live calls
- Campaigns API – Create and manage bulk calling campaigns
- Agents API – View, manage, export, and import AI agents and flows
- Contacts API – Full CRM operations with custom fields
- Credits API – View credit balance and usage history
- Analytics API – Call and campaign statistics
- Webhooks API – Real-time event notifications
Security & Access Control
- API key-based authentication
- Bcrypt-hashed API key storage
- Fine-grained permission scopes (read/write/admin)
- Optional IP whitelisting per API key
- Complete API audit logging
- Sliding-window rate limiting
Permission Scopes
- calls:read / calls:write
- campaigns:read / campaigns:write
- agents:read / agents:write
- contacts:read / contacts:write
- credits:read
- analytics:read
- webhooks:read / webhooks:write
- admin (full access)
Rate Limiting
- Default: 100 requests per minute per API key
- Sliding window duration: 60 seconds
Developer Documentation
- Swagger UI Playground:
/api/docs/playground - OpenAPI / Swagger spec:
/api/docs - Redoc-based documentation for easy reference
Installation Summary
- Copy the
rest-api plugin folder into the AgentLabs plugins directory - Run database migrations for API keys, audit logs, and rate limits
- Register plugin routes with authentication middleware
- Restart the AgentLabs application
Who Should Use This Plugin?
- SaaS founders integrating AgentLabs into their platforms
- Agencies automating outbound and inbound calling workflows
- Developers building custom dashboards or CRMs
- Businesses needing programmatic AI voice calling
Important Notes
- This plugin does not work standalone
- Main AgentLabs application is required
Changelog
- v1.0.0 – Initial release with full REST API support