Flireo AI
WebsiteLinkedin
WebsiteLinkedin
  1. Calls
  • 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
      • Get call by ID
        GET
      • Initiate outbound call
        POST
    • 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. Calls

Initiate outbound call

POST
https://api.flireo.com/api/v1/calls/outbound
Calls
Last modified:2026-01-09 14:25:39
Maintainer:Not configured
Initiate an outbound call from an AI agent to a destination phone number.
Phone Number Selection (Important for Resellers):
You can specify which phone number to call from using the number_id parameter. This is highly recommended for:
Resellers: Ensure calls are made from numbers dedicated to specific clients
Branding: Always use the same caller ID for recognition
Compliance: Meet legal requirements for specific numbers
Local presence: Use local numbers for better answer rates
If number_id is not provided, the system will automatically select an available number from your organization's pool, which may not be appropriate for reseller scenarios where numbers are client-specific.
Two Usage Modes:
1.
Using a Saved Agent (agent_id)
Reference an existing agent from your dashboard
Uses the agent's pre-configured settings
Can override first_message and add context
2.
Using Dynamic Configuration (agent_config)
Create transient, one-time agents without saving
Full control over STT/LLM/TTS configuration
Perfect for personalized or context-specific calls
Use Cases:
Appointment reminders with personalized greetings
Customer follow-ups with dynamic context
Survey calls with specific question flows
Delivery notifications
Payment reminders with account-specific details
Configuration Notes:
When using xai_realtime provider, omit stt_config and tts_config (handled internally)
For other providers (openai, anthropic, groq), both stt_config and tts_config are required
The call will be initiated immediately and the response will include a call_id to track progress
Response Time: Your call will typically connect within 2-5 seconds.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Outbound call initiated successfully
Body

🟠400
🟠404Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --request POST 'https://api.flireo.com/api/v1/calls/outbound' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "destination": "+31612345678",
    "number_id": "7f8a9b2c-3d4e-5f6g-7h8i-9j0k1l2m3n4o",
    "agent_id": "17a0cb75-fa09-4bdd-9a44-92a70d829c88",
    "first_message": "Hello, calling from your dedicated support line."
}'
Response Response Example
200 - Example 1
{
    "success": true,
    "call_id": "call-outbound-abc123",
    "room_name": "outbound-abc12345",
    "status": "dialing"
}
Modified at 2026-01-09 14:25:39
Previous
Get call by ID
Next
Send control command to active call
Built with