SIP trunks (legacy)
Add phone number to trunk
deprecated
Add a DID phone number to your SIP trunk using the Bolna API. Assign numbers for inbound and outbound voice calling on your trunk.
POST
cURL
Next steps
After adding a phone number, patch your agent’s telephony provider tosip-trunk.Authorizations
Body
application/json
Phone number to add
Response
Phone number added
Phone number (DID) registered on a SIP trunk.
Always sip-trunk on this legacy endpoint. Numbers on SIP trunks are managed with the SIP trunks API and call through provider trunk.
Example:
"sip-trunk"