Import Phone Number
Imports an existing phone number via SIP trunking (BYO). Provide the number in +E.164 format along with SIP credentials (trunkUsername, trunkPassword, terminationSipURI). Returns the imported number, including its sipPhoneNumber.
Authorizations
Authenticate every request by passing your API key in the X-API-Key header. To get your key, go to Dashboard → API Keys and create or copy your Production API key.
Body
Request body to import an existing phone number you own into SigmaMind via SIP trunking (BYO — Bring Your Own number). Use this when the number is already provisioned with an external telecom provider and you want SigmaMind to route calls through it using your own SIP trunk credentials. The number is not purchased — it remains with your provider.
Human-readable label for this phone number. Used to identify it in listings and dashboards. If omitted, the number itself is used as the display name.
128"BYO - Main Office Line"
The phone number being imported, in +E.164 format (e.g., +14155552671). Must be a number you own and have configured on your external SIP trunk. This number will be registered in SigmaMind and used as the caller ID for outbound calls and the destination for inbound calls routed through your trunk.
^\+[1-9][0-9]{6,14}$"+14155552671"
Unique identifier of the agent that will handle inbound calls received on this number. When a call arrives at this number via the SIP trunk, it is routed to this agent automatically. If omitted, inbound calls will not be handled by an agent until one is assigned.
64"awTw7UKhOsLGiDbt"
Unique identifier of the agent that will handle outbound calls made from this number. When this number is used as the caller ID in an outbound call, this agent manages the conversation. If omitted, the agent must be specified explicitly at call creation time.
64"awTw7UKhOsLGiDbt"
Username credential for authenticating outbound calls on your SIP trunk. Must match the trunk username configured in your telecom provider's account. Required for outbound call routing through the trunk.
128"my_trunk_user"
Password credential for authenticating outbound calls on your SIP trunk. Must match the trunk password configured in your telecom provider's account. Required for outbound call routing through the trunk. Stored securely and never returned in API responses.
128"tr!nkP@ssword"
SIP URI of the termination endpoint provided by your telecom provider. SigmaMind sends outbound calls to this address to route them through your trunk. Obtain this value from your provider's SIP trunking configuration (e.g., 'sip.telnyx.com', 'sip.twilio.com'). Required for outbound call delivery.
253"sip.telnyx.com"
Default destination number dialled during test calls initiated from this phone number, in +E.164 format. Used to verify the SIP trunk is connected and routing calls correctly. Must be a valid number capable of receiving calls. If omitted, test calls cannot be placed until this is configured.
^\+[1-9][0-9]{6,14}$"+14155552671"
Response
Created
The caller’s phone number in +E.164 format. This number must be obtained from SigmaMind or configured using SIP trunking with SigmaMind.
"+14155552671"
Default agent ID assigned to handle inbound calls for this phone number.
"D5D0p7TUs66TTAEAx"
Default agent ID assigned to handle outbound calls for this phone number.
"D5D0p7TUs66TTAEAx"
The default outbound phone number of the callee, represented in +E.164 format
"+14155552671"
Indicates whether the phone number is currently active and available for use.
true
The SIP URI of the phone number, provided by the service provider for call termination.
"sip.telnyx.com"
A user-friendly display name assigned to this phone number.
"Support Line - US"