Phone Numbers
Import a SIP phone number
Changed onBring your own SIP trunk by importing an existing phone number with its SIP termination URL. Atoms creates both inbound and outbound SIP trunks so your number works for making and receiving calls through the platform.
If name is omitted, a name is auto-generated from the phone number and user ID.
post/product/import-phone-number
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- AuthHTTP bearer
Request body
Example request
{
"phoneNumber": "+14155551234",
"sipTerminationUrl": "trunk.your-provider.com",
"name": "Main Support Line",
"sipUsername": "my-sip-user",
"sipPassword": "my-sip-password",
"cpsLimit": 1
}Response
Phone number imported successfully
Example response
{
"status": true,
"data": {
"_id": "507f1f77bcf86cd799439011",
"productType": "custom",
"isActive": true,
"attributes": {
"name": "Main Support Line",
"phoneNumber": "+14155551234",
"outboundSipTrunkId": "ST_xxxxxxxxxxxx",
"inboundSipTrunkId": "ST_xxxxxxxxxxxx"
},
"createdAt": "2026-03-16T12:00:00.000Z",
"updatedAt": "2026-03-16T12:00:00.000Z"
}
}Changes
- info
added the new optional request property
- info
- warning
added the new
customenum value to the/response property for the response status
- warning