Skip to main content
GET
/
api
/
v1
/
agents
/
{uuid}
/
phone-numbers
Phone numbers owned by an agent
curl --request GET \
  --url https://{subdomain}.mihu.ai/api/v1/agents/{uuid}/phone-numbers \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "items": [
      {
        "phone_number_uuid": "9bcb8f00-c0c5-4ee1-9b75-ad1e87a2bd8b",
        "number": "+12084439178",
        "country_code": "US",
        "location": "Sassari, Sardegna",
        "type": "local",
        "is_external": true,
        "source": "purchased",
        "status": "active",
        "compliance": {
          "status": "completed",
          "requirements": [
            {
              "name": "<string>",
              "type": "textual",
              "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"
      }
    ],
    "count": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.mindhunters.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}"

Path Parameters

uuid
string<uuid>
required

Response

Success

success
boolean

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

data
object