1. Phone numbers
Flireo AI
  • Introducing Flireo AI
    • Introduction
    • Core concepts
    • Getting started
    • API overview
    • Errors
  • Assistants
    • Phone numbers linking
  • Phone numbers
    • Overview
    • Available numbers
    • List phone numbers
    • Order a phone number
    • Phone number orders
  • Verification groups
    • Overview
    • Available numbers
    • Create verification group
    • List verification groups
    • Order number via verification group
  • Server events
    • Assistant types
    • Assistant-request Event
    • Tool-calls Event
    • End-of-call-report Event
    • Status-update Event
    • Control live calls
API ReferenceDocumentatie
API ReferenceDocumentatie
Linkedin
  1. Phone numbers

List phone numbers

Retrieve all phone numbers associated with your account.

Endpoint#

GET /v1/phone-numbers

Query Parameters#

ParameterTypeRequiredDefaultDescription
include_defaultstringNofalseSet to true to include shared default numbers
limitintegerNo50Maximum results (1-100)
offsetintegerNo0Pagination offset

Example Request#


Example Response#

{
  "data": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "phone_number": "+31201234567",
      "locality": "Amsterdam",
      "number_type": "local",
      "available": true,
      "created_at": "2025-01-15T10:30:00Z",
      "linked_assistant": null
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655440001",
      "phone_number": "+31851234567",
      "locality": null,
      "number_type": "national",
      "available": false,
      "created_at": "2025-01-10T08:00:00Z",
      "linked_assistant": {
        "id": "660e8400-e29b-41d4-a716-446655440000",
        "name": "Customer Support Agent"
      }
    }
  ],
  "shared_numbers": [
    {
      "id": "770e8400-e29b-41d4-a716-446655440000",
      "phone_number": "+31850001234",
      "locality": null,
      "number_type": "national"
    }
  ],
  "meta": {
    "total": 2,
    "limit": 20,
    "offset": 0
  }
}

Response Fields#

FieldTypeDescription
iduuidUnique phone number ID
phone_numberstringPhone number in E.164 format
localitystringCity/region for local numbers
number_typestringType: local, mobile, or national
availablebooleanWhether the number can be linked to an assistant
created_atdatetimeWhen the number was added
linked_assistantobjectAssistant currently using this number

Response JSON Schema#

{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": { "type": "string", "format": "uuid" },
          "phone_number": { "type": "string" },
          "locality": { "type": "string", "nullable": true },
          "number_type": { "type": "string", "enum": ["local", "mobile", "national"], "nullable": true },
          "available": { "type": "boolean" },
          "created_at": { "type": "string", "format": "date-time" },
          "linked_assistant": {
            "type": "object",
            "nullable": true,
            "properties": {
              "id": { "type": "string", "format": "uuid" },
              "name": { "type": "string" }
            }
          }
        }
      }
    },
    "shared_numbers": {
      "type": "array",
      "description": "Only present when include_default=true"
    },
    "meta": {
      "type": "object",
      "properties": {
        "total": { "type": "integer" },
        "limit": { "type": "integer" },
        "offset": { "type": "integer" }
      }
    }
  }
}

Next:
Learn how to search available numbers or link a number to an assistant.
Modified at 2025-12-08 10:36:46
Previous
Available numbers
Next
Order a phone number
Built with