Smart Carrier | API | Call Shaper - Testing Examples

Smart Carrier | API | Call Shaper - Testing Examples

The following numbers have been configured for certain testing scenarios.  A valid API key is required for testing.  If you need an API key, please contact support@tiltx.com.

These numbers must be used on the 'ToNumber' parameter of your API request.  The ToNumber may be passed as a 10 or 11 digit number. 

ToNumber

Expected Response

Sample Request

Sample Response

3155551212 or 13155551212

IsDNC will switch to 'true'

https://api.shaper.tiltx.com/Calls/shaper?ToNumber=3155551212&FromNumber=8003816311

http://drops.tiltx.com/XdakIe

2025551212 or 12025551212

IsDisconnected will switch to 'true'

https://api.shaper.tiltx.com/Calls/shaper?ToNumber=12025551212&FromNumber=8003816311

http://drops.tiltx.com/pL4R2m

4045551212 or 14045551212

CallerIDToUse will not equal 'FromNumber'

https://api.shaper.tiltx.com/Calls/shaper?ToNumber=4045551212&FromNumber=8003816311

http://drops.tiltx.com/E2xqsD

6155551212 or 16155551212

Identity and CAID will be populated with a sample STIR/SHAKEN Token

https://api.shaper.tiltx.com/Calls/shaper?ToNumber=6155551212&FromNumber=8003816311

http://drops.tiltx.com/EhUmOX

 

If using the Call Shaper SIP module, the following testing scenarios are available in addition to the scenarios listed above.  Please note - Call Shaper SIP module has a different API endpoint and is only accessible when the TILTX SIP Integration is used.

ToNumber

Expected Response

Sample Request

Sample Response

2355551212 or 12355551212

_302Redirect will switch to 'true' and VendorIP will switch to '140.82.47.230:5060'

https://api.shaper.tiltx.com/Calls/shaper-sip?ToNumber=2355551212&FromNumber=8003816311

http://drops.tiltx.com/zc3cQL