Phone Numbers
List all phone numbers (platform + SIP)
Changed onReturns 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
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/product/all-numbers
- AuthHTTP bearer
Response
Successful response
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"
}
]
}
}Changes
- info
endpoint added
- info