Sinch · Schema

HostingOrder

CommunicationsMessagingSMSVoiceVerificationCPaaSTelecommunicationsWhatsApp

Properties

Name Type Description
projectId string The project ID to which the hosting order is associated.
hostingOrderId string The unique ID of the hosting order.
displayName string The friendly name of the hosting order.
regionCode string The region code of the hosting order. Number hosting is only available for the US and Canada, so you must enter either "US" or "CA".
state string The state of the hosting order.
type string The hosting order type.
createdTime string Timestamp when the hosting order was created
updatedTime string Timestamp when the hosting order was last updated
scheduledOsrUpdateTime string Timestamp when the OSR update will be done
servicePlanId string The service plan to which the hosting order is associated.
campaignId string The campaign to which the hosting order is associated.
migrateToSinchTmo boolean Displays if a number is assigned to another aggregator in T-Mobile's platform, and requires migration from previous aggregator to Sinch.
textEnableInfo object
callbackUrl string The client's callback URL to be called upon finishing the number import.
View JSON Schema on GitHub

JSON Schema

sinch-hosting-order-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sinch/main/json-schema/sinch-hosting-order-schema.json",
  "title": "HostingOrder",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sinch-imported-numbers-hosting-orders-api-openapi.yml#/components/schemas/HostingOrder",
  "type": "object",
  "properties": {
    "projectId": {
      "type": "string",
      "description": "The project ID to which the hosting order is associated."
    },
    "hostingOrderId": {
      "type": "string",
      "description": "The unique ID of the hosting order."
    },
    "displayName": {
      "type": "string",
      "description": "The friendly name of the hosting order."
    },
    "regionCode": {
      "type": "string",
      "description": "The region code of the hosting order. Number hosting is only available for the US and Canada, so you must enter either \"US\" or \"CA\"."
    },
    "state": {
      "type": "string",
      "enum": [
        "HOSTING_ORDER_STATE_UNSPECIFIED",
        "DRAFT",
        "SUBMITTED",
        "WAITING_FOR_LOA_SIGNATURE",
        "IN_PROGRESS",
        "COMPLETED",
        "REJECTED"
      ],
      "x-enumDescriptions": {
        "HOSTING_ORDER_STATE_UNSPECIFIED": "State is unspecified.",
        "DRAFT": "Hosting order is a draft.",
        "SUBMITTED": "Hosting order has been submitted.",
        "WAITING_FOR_LOA_SIGNATURE": "Hosting order is waiting for the LoA signature.",
        "IN_PROGRESS": "Hosting order is in progress.",
        "COMPLETED": "Hosting order is completed.",
        "REJECTED": "Hosting order is rejected."
      },
      "description": "The state of the hosting order."
    },
    "type": {
      "type": "string",
      "enum": [
        "HOSTING_ORDER_TYPE_UNSPECIFIED",
        "IMPORT",
        "TYPE_TEXT_ENABLE"
      ],
      "x-enumDescriptions": {
        "HOSTING_ORDER_TYPE_UNSPECIFIED": "The type of hosting order is unspecified.",
        "IMPORT": "Hosting order to import numbers.",
        "TYPE_TEXT_ENABLE": "Hosting order to text-enable numbers."
      },
      "description": "The hosting order type."
    },
    "createdTime": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the hosting order was created",
      "readOnly": true
    },
    "updatedTime": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the hosting order was last updated",
      "readOnly": true
    },
    "scheduledOsrUpdateTime": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the OSR update will be done",
      "readOnly": true
    },
    "servicePlanId": {
      "type": "string",
      "description": "The service plan to which the hosting order is associated."
    },
    "campaignId": {
      "type": "string",
      "description": "The campaign to which the hosting order is associated."
    },
    "migrateToSinchTmo": {
      "type": "boolean",
      "readOnly": true,
      "description": "Displays if a number is assigned to another aggregator in T-Mobile's platform, and requires migration from previous aggregator to Sinch."
    },
    "textEnableInfo": {
      "$ref": "#/$defs/TextEnableInfo"
    },
    "callbackUrl": {
      "type": "string",
      "description": "The client's callback URL to be called upon finishing the number import."
    }
  },
  "$defs": {
    "Address": {
      "description": "The address of the business.",
      "required": [
        "buildingNumber",
        "street",
        "city",
        "state",
        "postalCode",
        "country"
      ],
      "type": "object",
      "properties": {
        "buildingNumber": {
          "type": "string",
          "description": "The building number of the address."
        },
        "street": {
          "type": "string",
          "description": "The street name of the address."
        },
        "city": {
          "type": "string",
          "description": "The city name of the address."
        },
        "state": {
          "type": "string",
          "description": "The state name of the address."
        },
        "postalCode": {
          "type": "string",
          "description": "The postal code of the address."
        },
        "country": {
          "type": "string",
          "description": "The country of the address."
        }
      }
    },
    "AuthorizedPerson": {
      "description": "The person authorized and responsible for the hosting order.",
      "required": [
        "firstName",
        "lastName",
        "email"
      ],
      "type": "object",
      "properties": {
        "firstName": {
          "type": "string",
          "description": "The first name of the authorized person."
        },
        "lastName": {
          "type": "string",
          "description": "The last name of the authorized person."
        },
        "email": {
          "type": "string",
          "description": "The email address of the authorized person."
        }
      }
    },
    "TextEnableInfo": {
      "type": "object",
      "properties": {
        "businessName": {
          "type": "string",
          "description": "The name of the business."
        },
        "authorisedPerson": {
          "$ref": "#/$defs/AuthorizedPerson"
        },
        "address": {
          "$ref": "#/$defs/Address"
        },
        "serviceProvider": {
          "type": "string"
        },
        "currentVoiceCarrier": {
          "type": "string",
          "description": "The current carrier you are using for voice services for the number you want to host on Sinch."
        },
        "nnid": {
          "type": "string",
          "description": "The Net Number ID for the number you want to host on Sinch."
        },
        "loaType": {
          "description": "The type of the letter of authorization.",
          "type": "string",
          "format": "enum",
          "enum": [
            "Direct",
            "Reseller"
          ],
          "x-enumDescriptions": {
            "Direct": "If you are a direct Sinch customer.",
            "Reseller": "If you are a Sinch partner or reseller."
          }
        }
      }
    }
  }
}

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/sinch-hosting-order"
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.