Hosting Orders

Get hosting order number

Returns the specified phone number belonging to the specified hosting order.

get/v1/projects/{projectId}/hostingOrders/{hostingOrderId}/numbers/{phoneNumber}

Request

  • Base URL
    https://imported.numbers.api.sinch.com
  • URL
    https://imported.numbers.api.sinch.com/v1/projects/{projectId}/hostingOrders/{hostingOrderId}/numbers/{phoneNumber}
  • Auth
    • HTTP basic
    • or OAuth 2
      Client credentials
      Token URL: https://auth.sinch.com/oauth2/token

Path parameters

projectIdstring required
Example:d1923022-5199-4bb3-a513-c47b3a656bc5

Found on your Sinch Customer Dashboard. Settings > Projects.

hostingOrderIdstring required
Example:01arz3ndektsv4rrffq69g5fav

Found on your Sinch Customer Dashboard. Settings > Projects.

phoneNumberstring required
Example:+12025550134

The phone number in E.164 format with leading +.

Response

OK

projectIdstring

The project ID to which the number belongs.

hostingOrderIdstring

The ID of the hosting order to which the number belongs.

phoneNumberstring

The phone number in e.164 format with leading +.

Example response

{
  "projectId": "YOUR_project_id",
  "hostingOrderId": "YOUR_hosting_order_id",
  "phoneNumber": "+12025550134",
  "osrUpdate": {
    "state": "DONE"
  },
  "campaignProvisioning": {
    "campaignId": "YOUR_campaign_id",
    "state": "DONE"
  },
  "platformProvisioning": {
    "servicePlanId": "YOUR_service_plan_id",
    "state": "DONE"
  },
  "smsAtt": {
    "state": "DONE",
    "updateTime": "2025-04-02T19:45:28.650924Z"
  },
  "smsTmo": {
    "state": "DONE",
    "updateTime": "2025-04-02T19:45:28.650924Z"
  },
  "mmsAtt": {
    "state": "DONE",
    "updateTime": "2025-04-02T19:45:28.650924Z"
  },
  "mmsTmo": {
    "state": "DONE",
    "updateTime": "2025-04-02T19:45:28.650924Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.