1. Verification groups
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. Verification groups

Order number via verification group

Order a local phone number using an approved verification group.

Endpoint#

POST /v1/verification-groups/{id}/order-number

Path Parameters#

ParameterTypeRequiredDescription
iduuidYesVerification group ID

Request Body#

FieldTypeRequiredDescription
phone_numberstringYesThe phone number to order (from available numbers)

Example Request#


Example Response#

{
  "message": "Phone number ordered",
  "data": {
    "order_id": "660e8400-e29b-41d4-a716-446655440000",
    "phone_number": "+31201234567",
    "number_type": "local",
    "status": "pending",
    "verification_group": {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "name": "Amsterdam Office"
    },
    "credits_used": 10,
    "remaining_credits": 90
  }
}

Request JSON Schema#

{
  "type": "object",
  "properties": {
    "phone_number": {
      "type": "string",
      "description": "The phone number to order (from available-phone-numbers)"
    }
  },
  "required": ["phone_number"]
}

Response JSON Schema#

{
  "type": "object",
  "properties": {
    "message": { "type": "string" },
    "data": {
      "type": "object",
      "properties": {
        "order_id": { "type": "string", "format": "uuid" },
        "phone_number": { "type": "string" },
        "number_type": { "type": "string" },
        "status": { "type": "string" },
        "verification_group": {
          "type": "object",
          "properties": {
            "id": { "type": "string", "format": "uuid" },
            "name": { "type": "string", "nullable": true }
          }
        },
        "credits_used": { "type": "integer" },
        "remaining_credits": { "type": "integer" }
      }
    }
  }
}

Error Codes#

CodeHTTP StatusDescription
not_found404Verification group not found
invalid_status400Group is not approved
insufficient_credits402Not enough credits (need 10)
invalid_parameters400Invalid phone number

Next:
Track your order with phone number orders.
Modified at 2025-12-08 10:37:31
Previous
List verification groups
Next
Assistant types
Built with