Configure and manage SIP for call routing to and from Bland.
/sip
endpoints are protected by an entitlement check.
Your organization must have the SIP
entitlement enabled to use SIP features. If not, all requests to the /sip
routes will return an error.
Contact support to have SIP enabled for your Enterprise organization.
From
Header FQDN: Bland will enforce validity of the FQDN provided for in your From
header. If this should be the same as the signaling endpoint, or a non-valid FQDN, we may reject your request(s) in the future.POST /sip/attach
Attach a SIP configuration to a phone number.
inbound
, outbound
. If outbound, you must also provide a sip_endpoint
.sip
.PUT /sip/verify
To prove that you own the number, you’ll need to perform a one-time verification.
Be ready! Once you make this request, you’ll receive a phone call to the specified phone number, from +14157234000
- which will require you to input the code returned from the below request into your keypad.
POST /sip/update
Update a phone number’s SIP routing direction.
type: outbound
and provide sip_endpoint
, or type: inbound
.POST /sip/detach
Remove SIP configuration from a number.
inbound
or outbound
.sip
.GET /sip?phone_number={phone_number}
Returns current SIP configuration (if any) for a given phone_number
.