Flireo AI
WebsiteLinkedin
WebsiteLinkedin
  1. Core concepts
  • 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. Core concepts

Phone numbers

Phone numbers are the entry point for your AI agents. When a call comes in to a registered number, the assigned agent handles the conversation.

How It Works#

1.
You configure a phone number with your SIP provider to forward calls to Flireo
2.
You register the number in Flireo via the API
3.
You assign an agent to the number
4.
Incoming calls are automatically handled by the assigned agent

Phone Number Properties#

PropertyTypeDescription
idUUIDUnique identifier
phone_numberstringPhone number in E.164 format (e.g., +31850835037)
namestringDisplay name for the number
agent_idUUIDAssigned agent (nullable)
transfer_trunk_idUUIDSIP trunk for call transfers (nullable)

Registering a Phone Number#

Response:
{
  "number": {
    "id": "abc12345-1234-5678-9012-abcdef123456",
    "phone_number": "+31850835037",
    "name": "Main Support Line",
    "agent_id": "17a0cb75-fa09-4bdd-9a44-92a70d829c88",
    "transfer_trunk_id": null,
    "created_at": "2025-12-13T10:00:00.000Z",
    "updated_at": "2025-12-13T10:00:00.000Z"
  }
}
See Register a Phone Number for details.

Updating Agent Assignment#

Change which agent handles calls for a number:
To unassign an agent (calls will not be handled):
See Update a Phone Number for details.

Configuring Call Transfers#

To enable call transfers from this number, assign a SIP trunk:
See SIP Trunks for trunk configuration.

Listing All Numbers#

Response:
{
  "numbers": [
    {
      "id": "abc12345-...",
      "phone_number": "+31850835037",
      "name": "Main Support Line",
      "agent_id": "17a0cb75-...",
      "transfer_trunk_id": null
    },
    {
      "id": "def67890-...",
      "phone_number": "+31201234567",
      "name": "Sales Line",
      "agent_id": "28b1dc86-...",
      "transfer_trunk_id": "trunk-123-..."
    }
  ]
}
See List All Phone Numbers for details.

Deleting a Phone Number#

See Delete a Phone Number for details.

Related#

Agents - Create agents to assign to numbers
SIP Trunks - Configure trunks for call transfers
Calls - View call history for your numbers
Modified at 2025-12-29 14:21:17
Previous
Agents
Next
Calls
Built with