CM.com · Schema

Create Number Request

Request model for requesting new phone numbers.

CompanyCPaaSMessagingSMSVoicePaymentsVerificationTicketing

Properties

Name Type Description
companyProfileGuid string Unique identifier of the company profile that will be operating the requested numbers.
quantity integer The quantity of numbers to be requested.
rangeSize integer The size of the range to be requested. **Only required if a range of numbers is requested. Requires number ranges to be supported. See the order restrictions endpoint for the allowed ranges**
numberType object
areaCode stringnull The area code to request numbers for. Required when city is not provided. If the city is also provided, this will be used in combination with city.
city stringnull City to request numbers for. Required when area code is not provided. If the area code is also provided, this will be used in combination with area code.
region stringnull Region to request numbers for. Only required for NANPA.
comment stringnull Additional comment for customers to for example add a distribution group or IP address.
callbackUrl stringnull URL that we'll send a POST request to when the status of the request has been updated. The body of this post request will contain the entire number request order including the updated status.
View JSON Schema on GitHub

JSON Schema

cm-com-api-create-number-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cm-com/main/json-schema/cm-com-api-create-number-request-schema.json",
  "title": "Create Number Request",
  "description": "Request model for requesting new phone numbers.",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cm-com-voice-number-requests-v1-openapi.yml#/components/schemas/ApiCreateNumberRequest",
  "type": "object",
  "properties": {
    "companyProfileGuid": {
      "type": "string",
      "description": "Unique identifier of the company profile that will be operating the requested numbers.",
      "format": "uuid"
    },
    "quantity": {
      "maximum": 1000,
      "minimum": 1,
      "type": "integer",
      "description": "The quantity of numbers to be requested.",
      "format": "int32"
    },
    "rangeSize": {
      "type": "integer",
      "description": "The size of the range to be requested. **Only required if a range of numbers is requested.\r\nRequires number ranges to be supported. See the order restrictions endpoint for the allowed ranges**",
      "format": "int32"
    },
    "numberType": {
      "$ref": "#/$defs/ApiNumberType"
    },
    "areaCode": {
      "type": [
        "string",
        "null"
      ],
      "description": "The area code to request numbers for. Required when city is not provided.\r\nIf the city is also provided, this will be used in combination with city."
    },
    "city": {
      "type": [
        "string",
        "null"
      ],
      "description": "City to request numbers for. Required when area code is not provided.\r\nIf the area code is also provided, this will be used in combination with area code."
    },
    "region": {
      "type": [
        "string",
        "null"
      ],
      "description": "Region to request numbers for. Only required for NANPA."
    },
    "comment": {
      "maxLength": 500,
      "type": [
        "string",
        "null"
      ],
      "description": "Additional comment for customers to for example add a distribution group or IP address."
    },
    "callbackUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL that we'll send a POST request to when the status of the request has been updated. The body of this post request will contain the entire number request order including the updated status."
    }
  },
  "additionalProperties": false,
  "$defs": {
    "ApiNumberType": {
      "title": "Number Type",
      "enum": [
        "Local",
        "National",
        "TollFree"
      ],
      "type": "string",
      "description": "Phone number type"
    }
  }
}

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/cm-com-api-create-number-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.