Provisioning numbers is easy with the CallFire REST API! Find Toll-Free and Local Numbers.
- Jump to Method
- Search Phone Numbers
- Purchase Phone Numbers
Methods
Search Phone Numbers
URL
https://www.callfire.com/cloud/1/inbound/numbers
HTTP Method
GET
Content Type
text/plain or application/x-www-form-urlencoded
Parameters
Parameter name | Required | Description |
---|---|---|
apikey | Y | This is your account api key |
npa | N | The Area Code for a Local number search |
isTollFree | N | True if you want to search for Toll Free |
listSize | N | The number of results to list - 50 maximum |
Example Response
The response content type can be xml or json.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
Numbers Found
true
50a77c9a-9d2f-001
8665630000
847a2b59-53bf-002
8669290000
Purchase Phone Numbers
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
Parameter name | Required | Description |
---|---|---|
apikey | Y | The API key that is registered with your account |
numberKey | Y | The key value of the phone number. |
number | Y | The number that you wish to purchase |
Example Response
The response content type can be xml or json.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
XXXXXXXXXX Purchased
true
XXXXXXXXXX