Virtual Number API
Buy virtual numbers and receive SMS codes directly from your own website
Version 1.0
🔑
Your API Key
Your Balance:₦0
Loading API key...
Base URL
https://sociapexx.pxxl.click/api/v1🔐 Authentication
Send your API key in one of these headers:
Authorization: Bearer YOUR_API_KEY
# OR
x-api-key: YOUR_API_KEYThe API reads the account tied to the key — you never send a user ID. All purchases debit your wallet balance.
📡 Virtual Number Endpoints
GET
/countriesGET
/servicesPOST
/poolsPOST
/purchasePOST
/checkPOST
/cancelGET
/ordersGET
/balance🚀 Typical Integration Flow
- Load
/countriesand/servicesonce, cache them on your server. - User picks country + service → you call
/poolsto show prices. - User clicks "Buy" → you call
/purchasewith a uniquereference(e.g. your DB order ID). - Show the
phoneto your user, tell them to enter it on Telegram/WhatsApp/etc. - Poll
/checkevery 3–5s untilstatus === "COMPLETED". - Use
smscode to complete your user's action. - If no SMS after ~5 min, call
/cancelto refund.
📊 Response Codes
| Code | Meaning |
|---|---|
| 200 | ✅ Success |
| 400 | ❌ Bad Request — missing or invalid fields |
| 401 | 🔑 Invalid or missing API key |
| 402 | 💰 Insufficient balance |
| 403 | 🚫 API access disabled on this account |
| 404 | 🔍 Order not found for this account |
| 409 | 📦 No numbers in stock for this pool |
| 500 | 💥 Server error — try again |
| 502 | 🔌 Upstream provider error |