v45

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0114775543.6 KB
Phone Numbers

List all phone numbers (platform + SIP)

Returns every phone number owned by the organization in one response:

  • telephonyProducts — numbers rented via the Atoms platform (Plivo / Twilio).
  • customProducts — numbers imported via POST /product/import-phone-number with your own SIP trunks.

Use this when you need a single combined view (e.g. a "Pick a number" dropdown). To list only platform-rented numbers, use GET /product/phone-numbers.

get/product/all-numbers

Response

Successful response

statusboolean

Example response

{
  "status": true,
  "data": {
    "telephonyProducts": [
      {
        "_id": "6969109c84c74bed175f02a7",
        "productType": "telephony",
        "isActive": true,
        "attributes": {
          "phoneNumber": "+912268093636"
        },
        "agentId": "69edad34780a67ce987d3f42"
      }
    ],
    "customProducts": [
      {
        "_id": "6969109c84c74bed175f02a7",
        "productType": "telephony",
        "isActive": true,
        "attributes": {
          "phoneNumber": "+912268093636"
        },
        "agentId": "69edad34780a67ce987d3f42"
      }
    ]
  }
}