Apideck · Schema

PhoneNumber

IntegrationUnified APIA2A

Properties

Name Type Description
id string Unique identifier of the phone number
country_code string The country code of the phone number, e.g. +1
area_code string The area code of the phone number, e.g. 323
number string The phone number
extension string The extension of the phone number
type string The type of phone number
View JSON Schema on GitHub

JSON Schema

apideck-phonenumber-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PhoneNumber",
  "title": "PhoneNumber",
  "type": "object",
  "x-apideck-schema-id": "PhoneNumber",
  "required": [
    "number"
  ],
  "additionalProperties": false,
  "x-apideck-weights": {
    "number": "critical",
    "type": "critical",
    "id": "edge-case",
    "country_code": "edge-case",
    "area_code": "edge-case",
    "extension": "edge-case"
  },
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier of the phone number",
      "example": "12345",
      "nullable": true
    },
    "country_code": {
      "title": "Country code",
      "description": "The country code of the phone number, e.g. +1",
      "type": "string",
      "example": "1",
      "nullable": true
    },
    "area_code": {
      "title": "Area code",
      "description": "The area code of the phone number, e.g. 323",
      "type": "string",
      "example": "323",
      "nullable": true
    },
    "number": {
      "type": "string",
      "title": "Phone number",
      "description": "The phone number",
      "example": "111-111-1111",
      "minLength": 1
    },
    "extension": {
      "type": "string",
      "title": "Phone extension",
      "description": "The extension of the phone number",
      "example": "105",
      "nullable": true
    },
    "type": {
      "type": "string",
      "description": "The type of phone number",
      "x-apideck-enum-id": "phone_numbers.type",
      "enum": [
        "primary",
        "secondary",
        "home",
        "work",
        "office",
        "mobile",
        "assistant",
        "fax",
        "direct-dial-in",
        "personal",
        "billing",
        "other"
      ],
      "example": "primary",
      "nullable": 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/apideck-phonenumber"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.