Provisioning numbers is easy with the CallFire REST API! Find Toll-Free and Local Numbers.
URL
https://www.callfire.com/cloud/1/inbound/numbers
HTTP Method
GET
Content Type
text/plain or application/x-www-form-urlencoded
Parameters
- apikey: Required. This is your account api key.
- npa: Optional. The Area Code for a Local number search.
- isTollFree: Optional. True if you want to search for Toll Free.
- listSize: Optional. The number of results to list - 50 maximum.
Response
Content-Type = application/xml or application/json
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <inboundResponse> <description>Numbers Found</description> <successful>true</successful> <numbers> <entry> <key>50a77c9a-9d2f-001</key> <value>8665630000</value> </entry> <entry> <key>847a2b59-53bf-002</key> <value>8669290000</value> </entry> </numbers> </inboundResponse>
Provisioning numbers is easy with the CallFire REST API! Find Toll-Free and Local Numbers.
URL
https://www.callfire.com/cloud/1/inbound/numbers
HTTP Method
POST
Content Type
application/x-www-form-urlencoded
Parameters
- apikey: Required. This is your account api key.
- numberKey: Required. The key value of the phone number.
- number: Required. The phone number being purchased.
Response
Content-Type = application/xml or application/json
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <inboundResponse> <description>XXXXXXXXXX Purchased</description> <successful>true</successful> <number>XXXXXXXXXX</number> </inboundResponse>
