Calls represent phone conversations handled by your AI agents. Flireo supports both inbound calls (someone calls your number) and outbound calls (your agent calls someone).Call Lifecycle#
Inbound Calls#
1.
Ringing - Call comes in to your registered number
2.
Assistant Request - If configured, webhook is called to customize the agent
3.
In Progress - Call is answered and conversation begins
4.
Ended - Call ends (customer hung up, agent ended, or transfer)
5.
Report - End-of-call webhook sent with summary and analysis
Outbound Calls#
1.
Dialing - Agent initiates call to destination
2.
In Progress - Destination answers, conversation begins
4.
Report - End-of-call webhook sent
Call Properties#
| Property | Type | Description |
|---|
id | string | Unique call identifier |
caller_phone | string | Caller's phone number (E.164) |
assistant_phone | string | Agent's phone number (E.164) |
status | string | connecting, in-progress, ended, failed |
error | string | Error message if call failed |
started_at | datetime | When call was answered |
ended_at | datetime | When call ended |
duration_seconds | integer | Call duration |
summary | string | AI-generated call summary |
agent_name | string | Name of agent that handled call |
business_name | string | Business name of agent |
Listing Calls#
{
"calls": [
{
"id": "call-_+31612345678_abc123",
"caller_phone": "+31612345678",
"assistant_phone": "+31850835037",
"status": "ended",
"duration_seconds": 84,
"summary": "Klant vroeg naar openingstijden en wilde een afspraak maken.",
"agent_name": "Customer Support",
"business_name": "Acme Corp",
"started_at": "2025-12-13T10:00:00.000Z",
"ended_at": "2025-12-13T10:01:24.000Z",
"created_at": "2025-12-13T09:59:55.000Z"
}
],
"pagination": {
"total": 150,
"limit": 50,
"offset": 0
}
}
Filtering Calls#
Initiating Outbound Calls#
Make your agent call someone:{
"success": true,
"call_id": "call-outbound-abc123",
"room_name": "outbound-abc12345",
"status": "dialing"
}
Outbound Call Parameters#
| Parameter | Required | Description |
|---|
destination | Yes | Phone number to call (E.164 format) |
agent_id | Yes | Agent to use for the call |
first_message | No | Custom greeting (overrides agent default) |
context | No | Additional context for the agent |
Use Cases for Outbound Calls#
Real-time Call Control#
Send commands to active calls. The call must have status in-progress.Inject Context#
Add information to the agent's context without speaking:Make Agent Speak#
End Call#
Transfer Call#
Agents - Configure agents that handle calls Modified at 2025-12-29 14:20:41