Phone Com · Schema

Device

CompanyVoIPTelephonyBusiness PhoneSMSVideo ConferencingCommunications

Properties

Name Type Description
name stringnull Device Name
lines arraynull Array of Line Objects showing which extensions are attached to this device, and their assigned line numbers
code integernull Device Code (available for special integrations only)
address objectnull Address associated with this device for 911 calls
View JSON Schema on GitHub

JSON Schema

phone-com-device-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/phone-com/json-schema/phone-com-device-schema.json",
  "title": "Device",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/phone-com-devices-api-openapi.yml#/components/schemas/Device",
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Device Name"
    },
    "lines": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "object",
        "properties": {
          "line": {
            "type": "integer",
            "minimum": 1,
            "maximum": 8,
            "description": "Line number"
          },
          "extension": {
            "type": "object",
            "properties": {
              "id": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 1,
                "description": "ID of the extension. This is the internal Phone.com ID, not the extension number callers may dial."
              },
              "extension": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 1,
                "description": "Extension number that callers may dial. On POST, leaving this empty will result in an auto-generated value. On PUT, this field is required."
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "User-supplied name for the extension. On POST, leaving this empty will result in an auto-generated value. On PUT, this field is required."
              }
            },
            "description": "Extensions object that this line number is mapped to"
          }
        },
        "required": [
          "line",
          "extension"
        ]
      },
      "description": "Array of Line Objects showing which extensions are attached to this device, and their assigned line numbers"
    },
    "code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Device Code (available for special integrations only)"
    },
    "address": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "line_1": {
          "type": "string",
          "maxLength": 55,
          "description": "Address line 1"
        },
        "line_2": {
          "type": "string",
          "maxLength": 55,
          "description": "Address line 2"
        },
        "city": {
          "type": "string",
          "maxLength": 40,
          "description": "City"
        },
        "province": {
          "type": "string",
          "maxLength": 40,
          "description": "Contact province"
        },
        "postal_code": {
          "type": "string",
          "maxLength": 40,
          "description": "Contact postal code"
        },
        "country": {
          "type": "string",
          "maxLength": 2,
          "description": "Country name"
        }
      },
      "required": [
        "line_1",
        "line_2",
        "city",
        "province",
        "postal_code",
        "country"
      ],
      "description": "Address associated with this device for 911 calls"
    }
  }
}

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-device"
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.