Import a SIP phone number

View as Markdown
Bring 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.

Authentication

AuthorizationBearer

API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.

Request

This endpoint expects an object.
phoneNumberstringRequired
Your existing phone number in E.164 format
sipTerminationUrlstringRequired
The SIP URI where calls should be routed to your infrastructure
namestringOptional
A friendly display name for this number
sipUsernamestringOptional

Username for SIP authentication (if your trunk requires it)

sipPasswordstringOptional

Password for SIP authentication (if your trunk requires it)

Response

Phone number imported successfully
statusboolean
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error