---
title: "List all phone numbers (platform + SIP)"
method: GET
path: "/product/all-numbers"
tags: ["Phone Numbers"]
---

# List all phone numbers (platform + SIP)

`GET /product/all-numbers`

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`](#operation/importSipPhoneNumber) 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`](#operation/getAcquiredPhoneNumbers).

## Response `200`

Successful response

- object
  - `status` boolean
  - `data` object
    - `telephonyProducts` Product[]
      - `_id` string — 24-char MongoDB ObjectId. Use this as `productId` when releasing, or assign to an agent via `PATCH /agent/{agentId}`.
      - `productType` 'telephony' | 'custom-telephony' — - `telephony` — number rented via the Atoms platform (Plivo/Twilio). - `custom-telephony` — number imported via `POST /product/import-phone-number` with the customer's own SIP trunk.
      - `isActive` boolean — Whether the number is currently billable / serving traffic.
      - `attributes` object — Provider-specific number metadata.
        - `provider` 'plivo' | 'twilio'
        - `phoneNumber` string — E.164 format including `+`.
      - `agentId` string, nullable — 24-char MongoDB ObjectId of the agent this number is assigned to, if any. `null` when unassigned.
      - `createdAt` string, date-time
      - `updatedAt` string, date-time
    - `customProducts` Product[]
      - `_id` string — 24-char MongoDB ObjectId. Use this as `productId` when releasing, or assign to an agent via `PATCH /agent/{agentId}`.
      - `productType` 'telephony' | 'custom-telephony' — - `telephony` — number rented via the Atoms platform (Plivo/Twilio). - `custom-telephony` — number imported via `POST /product/import-phone-number` with the customer's own SIP trunk.
      - `isActive` boolean — Whether the number is currently billable / serving traffic.
      - `attributes` object — Provider-specific number metadata.
        - `provider` 'plivo' | 'twilio'
        - `phoneNumber` string — E.164 format including `+`.
      - `agentId` string, nullable — 24-char MongoDB ObjectId of the agent this number is assigned to, if any. `null` when unassigned.
      - `createdAt` string, date-time
      - `updatedAt` string, date-time

## Other responses

- `401` — Unauthorized access
- `500` — Internal server error

---

[API](https://skmtc.net/smallest-inc/apis/agent-management-api.md) · [All operations](https://skmtc.net/smallest-inc/apis/agent-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smallest-inc/agent-management-api/revisions/c2d0eb64b01a/schema)
