Developer Docs
API Reference
Complete API documentation for Cloudfort voice infrastructure. REST endpoints, WebSocket protocol, and SDK integration guides.
Base URL
https://callem.cloudfort.ir Authentication
All API requests require authentication via Bearer token in the Authorization header.
Header
Authorization: Bearer vc_live_YOUR_API_KEY Endpoints
GET
/api/meGet authenticated account information and usage summary.
Response
{
"account": {
"id": 1,
"name": "Your Company",
"email": "admin@company.com",
"plan": "pro",
"status": "active"
},
"summary": {
"total_minutes": 120.5,
"remaining_minutes": 879.5,
"current_ccu": 3,
"max_ccu": 50
}
}WS
/ws?room={room}&peer={peer}&api_key={key}WebSocket endpoint for real-time voice communication. Connect with query parameters and send JSON control messages.
Query Parameters
room— Room identifier (use__lobby__initially)peer— Unique peer IDapi_key— Your API key
Control Messages
// Join a room
{ "type": "join", "room": "meeting-123" }
// Leave current room
{ "type": "leave" }
// Binary messages are treated as audio dataRate Limits & Quotas
Usage limits vary by plan. Monitor your usage via the /api/me endpoint.
Free
5 CCU · 100 min/mo
Starter
25 CCU · 1000 min/mo
Pro
500 CCU · Unlimited
SDK Documentation
Official SDKs for popular platforms and frameworks.