Flireo AI
WebsiteLinkedin
WebsiteLinkedin
  1. Api's
  • API Reference
    • Agents
      • List all agents
      • Create a new agent
      • Get an agent
      • Update an agent
      • Delete an agent
    • Tool Templates
      • List all tool templates
      • Create a new tool template
      • Get a tool template
      • Update a tool template
      • Delete a tool template
    • Numbers
      • List all phone numbers
      • Register a phone number
      • Get a phone number
      • Update a phone number
      • Delete a phone number
    • Calls
      • List calls
      • Get call by ID
      • Initiate outbound call
    • Call Control
      • Send control command to active call
    • Usage
      • Get usage logs
    • SIP Trunks
      • List SIP trunks
      • Create a SIP trunk
      • Get a SIP trunk
      • Delete a SIP trunk
    • Voices
      • List available voices
    • BYOK
      • Get BYOK configurations
      • Add BYOK configuration
      • Delete BYOK configuration
      • Get BYOK provider configurations
    • Domains
      • Get your domain
      • Add a domain
      • Delete your domain
      • List available Resend domains
      • Select and sync a Resend domain
      • Verify domain DNS records
      • Refresh domain status
    • Webhooks
      • Dynamic assistant configuration webhook
      • Tool/Function Call
      • Call Status Update
      • End of Call Report
    • Analysis Templates
      • List analysis templates
      • Create analysis template
      • Get analysis template
      • Update analysis template
      • Delete analysis template
    • Organization
      • Get organization information
    • Campaigns
      • List all campaigns
      • Create a campaign
      • Get a campaign
      • Update a campaign
      • Delete a campaign
      • List campaign leads
      • Add a lead
      • Remove a lead
  • Documentation
    • Get started
      • Quickstart
      • Introduction
      • Authentication
    • Core concepts
      • Agents
      • Phone numbers
      • Calls
      • Webhooks
    • Api's
      • Organization
      • Agents
      • Phone numbers
      • Sip trunks
      • Calls
      • Call control
      • Usage
      • Voices
      • BYOK
      • Domains
      • Analysis templates
      • Tool templates
    • Webhooks
      • Overview
      • Assistant request
      • Tool calls
      • Status update
      • End of call report
      • Security
    • Guides
      • BYOK Setup
      • Call analysis
      • Custom Tools
      • Call Transfers
      • xAI Realtime Integration
      • Analysis templates
      • Billing
      • Error codes
      • Rate limits
      • Sip Trunks
      • Tool templates
      • Troubleshooting
WebsiteLinkedin
WebsiteLinkedin
  1. Api's

Calls

View call history and initiate outbound calls.

Endpoints#

MethodEndpointDescription
GET/callsList calls
POST/calls/outboundInitiate outbound call
POST/calls/{id}/controlSend control command

List Calls#

Retrieve call history with optional filtering by status and date range.
GET /calls

Query Parameters#

NameTypeDefaultDescription
limitinteger100Max results (max 1000)
offsetinteger0Results to skip
statusstring-Filter: connecting, in-progress, ended, failed
start_datedatetime-Filter calls from this date (ISO 8601)
end_datedatetime-Filter calls until this date (ISO 8601)

Request#

Response#

{
  "calls": [
    {
      "id": "call-_+31612345678_abc123",
      "caller_phone": "+31612345678",
      "assistant_phone": "+31850835037",
      "status": "ended",
      "error": null,
      "started_at": "2025-12-13T10:00:00.000Z",
      "ended_at": "2025-12-13T10:01:24.000Z",
      "duration_seconds": 84,
      "summary": "Klant vroeg naar openingstijden en wilde een afspraak maken.",
      "agent_name": "Customer Support",
      "business_name": "Acme Corp",
      "created_at": "2025-12-13T09:59:55.000Z",
      "updated_at": "2025-12-13T10:01:24.000Z"
    }
  ],
  "pagination": {
    "total": 150,
    "limit": 50,
    "offset": 0
  }
}

Call Status Values#

StatusDescription
connectingCall is being connected
in-progressCall is active
endedCall ended normally
failedCall failed (see error field)

Initiate Outbound Call#

Make your AI agent call someone.
POST /calls/outbound

Request Body#

FieldTypeRequiredDescription
destinationstringYesPhone number in E.164 format
agent_idUUIDYesAgent to use for the call
first_messagestringNoCustom greeting (overrides agent default)
contextstringNoAdditional context for the agent

Example Request#

Response#

{
  "success": true,
  "call_id": "call-outbound-abc123",
  "room_name": "outbound-abc12345",
  "status": "dialing"
}

Use Cases#

Appointment reminders
Customer follow-ups
Survey calls
Delivery notifications
Payment reminders

Errors#

StatusDescription
400Invalid destination format or inactive agent
404Agent not found
See OutboundCallRequest Schema for complete details.
Modified at 2025-12-29 14:18:25
Previous
Sip trunks
Next
Call control
Built with