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.

If name is omitted, a name is auto-generated from the phone number and user ID.

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. E.164 format is recommended but not enforced server-side — any non-empty string is accepted.

sipTerminationUrlstringRequired

Your SIP provider’s termination host — a hostname or IP address, optionally with a port (e.g. “sip.your-provider.com:5060”). Full SIP URIs (“sip:” / “sips:”) are also accepted and automatically normalized to the bare host.

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