Phone Numbers
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.
post/v1/phone-numbers/import
Request
- Base URLhttps://api.sigmamind.ai
- AuthAPI key in header X-API-Key
Request body
Example request
{
"friendlyName": "BYO - Main Office Line",
"phoneNumber": "+14155552671",
"inboundAgentId": "awTw7UKhOsLGiDbt",
"outboundAgentId": "awTw7UKhOsLGiDbt",
"trunkUsername": "my_trunk_user",
"trunkPassword": "tr!nkP@ssword",
"terminationSipURI": "sip.telnyx.com",
"outboundPhoneNumber": "+14155552671"
}Response
Created
Example response
{
"sipPhoneNumber": "+14155552671",
"inboundAgentId": "agent_D5D0p7TUs66TTAEAx",
"outboundAgentId": "agent_D5D0p7TUs66TTAEAx",
"outboundPhoneNumber": "+14155552671",
"active": true,
"terminationSipURI": "sip.telnyx.com",
"friendlyName": "Support Line - US"
}Changes
No recorded changes to this operation across all 3 revisions of this API.