PhoneNumberSearchRequest

Represents a phone number search request to find phone numbers. Found phone numbers are temporarily held for a following purchase.

Microsoft AzureCPaaSCallingChatCommunicationsContact CenterEmailIdentityMessagingPhone NumbersRoomsRoutingSIPSMSTelephonyTokensVideoVoiceWhatsApp

Properties

Name Type Description
phoneNumberType string The type of phone numbers to search for, e.g. geographic, tollFree, mobile.
assignmentType string The assignment type of the phone numbers to search for. A phone number can be assigned to a person, or to an application.
capabilities object
areaCode string The area code of the desired phone number, e.g. 425.
quantity integer The quantity of desired phone numbers. The default value is 1.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-communication-services-phone-number-search-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-communication-services/json-schema/microsoft-azure-communication-services-phone-number-search-request-schema.json",
  "title": "PhoneNumberSearchRequest",
  "description": "Represents a phone number search request to find phone numbers. Found phone numbers are temporarily held for a following purchase.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-communication-services-phonenumbers-api-openapi.yml#/components/schemas/PhoneNumberSearchRequest",
  "required": [
    "assignmentType",
    "capabilities",
    "phoneNumberType"
  ],
  "type": "object",
  "properties": {
    "phoneNumberType": {
      "description": "The type of phone numbers to search for, e.g. geographic, tollFree, mobile.",
      "enum": [
        "geographic",
        "tollFree",
        "mobile"
      ],
      "type": "string",
      "x-ms-enum": {
        "name": "PhoneNumberType",
        "modelAsString": true
      }
    },
    "assignmentType": {
      "description": "The assignment type of the phone numbers to search for. A phone number can be assigned to a person, or to an application.",
      "enum": [
        "person",
        "application"
      ],
      "type": "string",
      "x-ms-enum": {
        "name": "PhoneNumberAssignmentType",
        "modelAsString": true
      }
    },
    "capabilities": {
      "$ref": "#/$defs/PhoneNumberCapabilities"
    },
    "areaCode": {
      "description": "The area code of the desired phone number, e.g. 425.",
      "type": "string"
    },
    "quantity": {
      "format": "int32",
      "description": "The quantity of desired phone numbers. The default value is 1.",
      "default": 1,
      "maximum": 2147483647,
      "minimum": 1,
      "type": "integer"
    }
  },
  "$defs": {
    "PhoneNumberCapabilities": {
      "description": "Capabilities of a phone number.",
      "required": [
        "calling",
        "sms"
      ],
      "type": "object",
      "properties": {
        "calling": {
          "description": "Capability value for calling.",
          "enum": [
            "none",
            "inbound",
            "outbound",
            "inbound+outbound"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "PhoneNumberCapabilityType",
            "modelAsString": true
          }
        },
        "sms": {
          "description": "Capability value for SMS.",
          "enum": [
            "none",
            "inbound",
            "outbound",
            "inbound+outbound"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "PhoneNumberCapabilityType",
            "modelAsString": true
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-communication-services-phone-number-search-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.