Skip to main content
GET
/
api
/
v1
/
phone-numbers
List your phone numbers
curl --request GET \
  --url https://{subdomain}.mihu.ai/api/v1/phone-numbers \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "data": {
    "items": [
      {
        "phone_number_uuid": "9bcb8f00-c0c5-4ee1-9b75-ad1e87a2bd8b",
        "number": "+12084439178",
        "country_code": "US",
        "location": "Sassari, Sardegna",
        "is_external": true,
        "compliance": {
          "requirements": [
            {
              "name": "<string>",
              "description": "<string>"
            }
          ]
        },
        "capabilities": {
          "voice": true,
          "sms": true,
          "mms": true,
          "fax": true,
          "emergency": true,
          "local_calling": true
        },
        "channel_settings": {
          "voice": {
            "enabled": true,
            "channel_limit": 123,
            "whitelisted_destinations": [
              "US"
            ]
          },
          "sms": {
            "enabled": true,
            "channel_limit": 123,
            "whitelisted_destinations": [
              "US"
            ]
          },
          "inbound": {
            "enabled": true,
            "channel_limit": 123
          }
        },
        "billing": {
          "monthly_fee": 123,
          "currency": "EUR"
        },
        "bindings": {
          "call": {
            "bound": true,
            "agent_uuid": "<string>",
            "agent_name": "<string>"
          },
          "sms": {
            "bound": true,
            "agent_uuid": "<string>",
            "agent_name": "<string>"
          },
          "whatsapp": {
            "bound": true,
            "agent_uuid": "<string>",
            "agent_name": "<string>"
          }
        },
        "purchased_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      }
    ],
    "pagination": {
      "current_page": 1,
      "per_page": 25,
      "total": 137,
      "last_page": 6,
      "from": 1,
      "to": 25,
      "has_more": true
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.mihu.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Query Parameters

page
integer
default:1
per_page
integer
default:25
Required range: x <= 100
status
enum<string>
Available options:
active,
pending,
inactive
country_code
string
Example:

"US"

type
enum<string>
Available options:
local,
toll_free,
mobile,
national
compliance
enum<string>
Available options:
completed,
requirement_pending

Free-text search on number or country

bound_to_agent_uuid
string<uuid>

Filter to numbers bound to a specific agent on any channel

sort
enum<string>
default:created_at
Available options:
created_at,
monthly_fee,
number
only_include
enum<string>

Filter the result to a single source. Omit to get both. purchased = owned inventory only. external = registered trunks only.

Available options:
purchased,
external

Response

Success

success
boolean

Indicates whether the request completed successfully. True for successful responses; false for documented error responses.

message
string

Human-readable response message. Safe to display in logs or simple client notifications; use structured fields for program logic.

data
object