Phone Com · Schema

PhoneNumber

CompanyVoIPTelephonyBusiness PhoneSMSVideo ConferencingCommunications

Properties

Name Type Description
name stringnull Name
route objectnull The Route assigned to handle incoming calls for this number, if any.
block_incoming booleannull Whether to block incoming calls.
block_anonymous booleannull Whether to block anonymous calls.
caller_id object Caller ID Object
sms_forwarding object SMS Forwarding Object
call_notifications object Call Notifications Object
reservation_id stringnull Reserve phone number ID
phone_number object Phone number
record_calls booleannull Record calls (feature needs to be enabled on account level)
View JSON Schema on GitHub

JSON Schema

phone-com-phone-number-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/phone-com/json-schema/phone-com-phone-number-schema.json",
  "title": "PhoneNumber",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/phone-com-phone-numbers-api-openapi.yml#/components/schemas/PhoneNumber",
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Name"
    },
    "route": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": [
            "integer",
            "null"
          ],
          "minimum": 1,
          "description": "Route ID. Read-only."
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "Route name"
        }
      },
      "description": "The Route assigned to handle incoming calls for this number, if any."
    },
    "block_incoming": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Whether to block incoming calls."
    },
    "block_anonymous": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Whether to block anonymous calls."
    },
    "caller_id": {
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 15,
          "pattern": "^[0-9a-zA-Z\\s,]+$",
          "description": "Name that this number will be associated with. Must be no longer than 15 characters, and can only contain English letters, numbers, spaces, and commas."
        },
        "type": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "business",
            "personal"
          ],
          "description": "Can be 'business' or 'personal'"
        }
      },
      "description": "Caller ID Object"
    },
    "sms_forwarding": {
      "properties": {
        "type": {
          "enum": [
            "application",
            "extension"
          ],
          "description": "Can be 'extension' or 'application'"
        },
        "application": {
          "description": "Required if type = 'application'. Application that messages should be directed to"
        },
        "extension": {
          "description": "Required if type = 'extension'. Extension that messages should be directed to"
        }
      },
      "description": "SMS Forwarding Object"
    },
    "call_notifications": {
      "properties": {
        "emails": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Array of email addresses"
        },
        "sms": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^\\+?([0-9\\-\\(\\)\\s]*)$",
          "description": "A phone number capable of receiving SMS messages"
        }
      },
      "description": "Call Notifications Object"
    },
    "reservation_id": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 1,
      "description": "Reserve phone number ID"
    },
    "phone_number": {
      "description": "Phone number"
    },
    "record_calls": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Record calls (feature needs to be enabled on account level)"
    }
  }
}

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/phone-com-phone-number"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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