Phone Number API

Business phone number API for resellers

The ResellPortal phone number API lets you sell dedicated business phone numbers from your own app, website or store. Search available local and toll-free numbers in the US, Canada, the UK and Australia, buy one with a single call, and your customer gets call forwarding, voicemail and an auto-attendant. There is no monthly platform fee: each number is charged at wholesale from your wallet.

BASE=https://panel.resellportal.com/wp-json/resellportal/v1

# 1. Search numbers in New York (212)
curl "$BASE/business-phone/search?country=US&area_code=212" \
  -H "X-API-Key: your_api_key" \
  -H "X-API-Secret: your_api_secret"

# 2. Buy the number
curl -X POST "$BASE/orders" \
  -H "X-API-Key: your_api_key" \
  -H "X-API-Secret: your_api_secret" \
  -H "Content-Type: application/json" \
  -d '{"client_id": 123,
       "product_key": "business_phone",
       "phone_number": "+12125550100",
       "billing_cycle": "monthly"}'
const BASE = "https://panel.resellportal.com/wp-json/resellportal/v1";
const headers = {
  "X-API-Key": "your_api_key",
  "X-API-Secret": "your_api_secret",
  "Content-Type": "application/json",
};
const api = (path, body) => fetch(BASE + path, {
  method: body ? "POST" : "GET",
  headers,
  body: body && JSON.stringify(body),
}).then((r) => r.json());

// 1. Search numbers in New York (212)
const numbers = await api("/business-phone/search?country=US&area_code=212");

// 2. Buy the number
const order = await api("/orders", {
  client_id: 123,
  product_key: "business_phone",
  phone_number: "+12125550100",
  billing_cycle: "monthly",
});
import requests

BASE = "https://panel.resellportal.com/wp-json/resellportal/v1"
HEADERS = {
    "X-API-Key": "your_api_key",
    "X-API-Secret": "your_api_secret",
}

# 1. Search numbers in New York (212)
numbers = requests.get(
    f"{BASE}/business-phone/search",
    params={"country": "US", "area_code": "212"},
    headers=HEADERS,
).json()

# 2. Buy the number
order = requests.post(f"{BASE}/orders", headers=HEADERS, json={
    "client_id": 123,
    "product_key": "business_phone",
    "phone_number": "+12125550100",
    "billing_cycle": "monthly",
}).json()
4Countries: US, CA, UK, AU
Local& toll-free numbers
2API calls to go live
$0Monthly platform fee
How it works

From search to live business number in three steps

1

Search numbers

Call GET /business-phone/search with a country and area code to see available numbers (up to 50 per search).

2

Buy the number

Call POST /orders with product_key "business_phone" and either the exact number or just an area code to take the first available one.

3

Your customer sets it up

Your customer gets an email with their number and a link to manage call forwarding, voicemail and business hours from their portal.

Endpoints

The endpoints you will use

Base URL https://panel.resellportal.com/wp-json/resellportal/v1. Authenticate every request with your X-API-Key and X-API-Secret headers.

GET/business-phone/search?country=US&area_code=212

List available numbers for a country and area code. Supports US, CA, GB and AU.

POST/clients

Create the customer the number belongs to (or reuse an existing client_id).

POST/orders

Buy a number: product_key "business_phone", phone_number (or area_code), country and billing_cycle.

GET/services

List the numbers and other services you have sold, with their status.

Billing

How billing works

  • No setup fee and no monthly fee. You only pay when you place an order.
  • Wholesale per order. Each order is charged at wholesale from your prepaid wallet, and you set your own selling price.
  • Live prices. Current prices are returned by the API and shown in your panel, so your app always uses the latest price.
  • Volume discounts. Larger wallet balances get a discount on every order.
Response

What you get back

A successful order returns everything you need to deliver it in your own interface.

ResponsePOST /orders · 200
{
  "success": true,
  "service_id": 712,
  "message": "Business Phone activated successfully",
  "phone": {
    "number": "+12125550100",
    "country": "US"
  },
  "billing_cycle": "monthly"
}
Why ResellPortal

Built for resellers, not just developers

Sold under your brand

Customer emails and the phone management portal carry your store name, not ours.

Free test mode

Send "test_mode": true (or the X-RP-Test-Mode: 1 header) to build and test your integration without charging your wallet.

Forwarding and voicemail

Every number includes call forwarding, voicemail, business hours and an auto-attendant menu.

Local and toll-free

Pick numbers by area code in the US, Canada, UK and Australia, including US toll-free (800, 833, 844, 855, 866, 877, 888).

Works with AI assistants

Connect Claude, ChatGPT or Cursor to the ResellPortal MCP server to search and buy numbers by chat.

A ready-made store too

Every account also gets a white-label storefront, so you can sell phone numbers without building anything.

FAQ

Business Phone Number API questions

What is a business phone number API?

A business phone number API lets your software search for available phone numbers and buy them automatically. With the ResellPortal API you search with GET /business-phone/search and buy a number with POST /orders, and your customer gets a working business line with forwarding and voicemail.

Which countries are supported?

The United States, Canada, the United Kingdom and Australia. Pass the country code (US, CA, GB or AU) and an area code to search.

Can I get toll-free numbers?

Yes, in the US. Search or order with a toll-free area code such as 800, 833, 844, 855, 866, 877 or 888.

What features come with each number?

Call forwarding, voicemail, business hours and an auto-attendant, all managed by your customer from their portal on your storefront.

How much does the phone number API cost?

There is no setup or monthly platform fee. Each number is charged at wholesale from your prepaid wallet for the billing cycle you choose (monthly, quarterly, biannual or annual), and you set your own selling price.

Can I test the phone number API without being charged?

Yes. Add "test_mode": true to the request body, or send the header X-RP-Test-Mode: 1. Test requests are validated but nothing is charged and no number is bought.

What do I need to start using the phone number API?

Create a free ResellPortal account and copy your API key and secret from the API section of the panel. No minimum balance. A live order only needs enough in your wallet to cover it.

Sell business phone numbers under your brand

Free account, free test mode, no monthly platform fee. Get your API keys and set up your first number in minutes.