From API key to first request, in your language
Verification
- Verify a phone number by SMSText a one-time code and check what the user typed. We generate the code and keep only a hash of it.POST/verify/startPOST/verify/checkStart
- Verify a phone number by voice callCall the user and read a one-time code aloud, digit by digit, in English, Spanish, French, German, Portuguese or Hindi.POST/verify/startPOST/verify/checkStart
Voice
- Make a phone callPlace an outbound call on a wholesale route and get back its outcome, duration and exact cost when it ends.POST/comms/callsStart
- Build an AI voice agentCreate an agent from a script and rules, rehearse it in a simulated conversation, then attach it to an outbound campaign.POST/ai-agentsPOST/ai-agents/{id}/simulatePUT/dialer/campaigns/{id}Start
Numbers and routing
- Buy a phone numberSearch the number store by digits, buy a number and point its calls at your SIP server or another phone.GET/dids/searchPOST/dids/buyPATCH/dids/{id}/routingStart
- Price a number (least-cost routing)See every route that serves a number at the rate it would charge for it, cheapest first, then preview which one Smart Routing would pick.GET/routes/price-numberGET/routes/resolveStart
- Test a caller ID on a routePlace a real test call over a route to a handset in the destination country and see which caller ID it displayed.POST/cli-testsGET/cli-tests/{id}GET/cli-tests/quotaStart
- Check routes before you buyPlace one short real call over up to three routes, read a plain verdict for each, then buy the ones that work with your routing order set.POST/routes/checkGET/routes/check/{id}GET/routes/check/coveragePOST/routes/check/{id}/purchasePOST/routes/check/smsStart
Webhooks and agents
- Receive webhooks and verify signaturesReceive sends, completed calls and inbound messages as signed POSTs, and reject anything forged or replayed.X-PX-SignatureX-PX-TimestampX-Webhook-EventX-Webhook-IdStart
- Connect an AI agent over MCPGive Claude, Cursor or your own agent the marketplace as tools: price routes, verify numbers, send and check its balance.POSThttps://packetexchange.io/mcp/httpStart
Every guide is written out in all eight languages; your choice of language carries across the portal.
Five steps, the same every time
- 01
Get an API key
Open an account and create a key in the dashboard. Test keys run the full request without delivering it, on invite-only test credit.
- 02
Fund the balance
Prepaid from $5 by card or crypto, or $100 by wire. Each guide says what its request costs.
- 03
Make the request
A complete program in your language, with the key read from PACKETEXCHANGE_API_KEY.
- 04
Handle the response
The real response shape, what each field means and what errors look like.
- 05
Go further
The next endpoint, the product page and the full example.
Prefer a typed client? The Node and Python SDKs cover the same endpoints. Longer programs with argument handling and error output are in the example gallery.
Your key is one sign-up away
Open an account, add credit from $5 and create a key. Wholesale rates from the first request, with no contract and no monthly fee.