Connect your website
Quickstart
For your own website, app or software, in any programming language. REST API with JSON: your first order in 5 minutes.
1. Get your API key
Ask for API access, then copy your key from your API page. See Your API key. To try it free first, use your test key.
2. Send your first order
One POST with your key in the header. The reference is your own order ID: it is never charged twice.
curl -X POST https://uzobestgsm.com/api/v2/data/ \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"reference": "ORD10023", "network": "MTN", "phone": "08031234567", "plan": "MTN_SME_1GB_30DAYS"}'
$ch = curl_init('https://uzobestgsm.com/api/v2/data/');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 150,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => json_encode(['reference' => 'ORD10023', 'network' => 'MTN',
'phone' => '08031234567', 'plan' => 'MTN_SME_1GB_30DAYS']),
]);
$answer = json_decode(curl_exec($ch), true);
const res = await fetch('https://uzobestgsm.com/api/v2/data/', {
method: 'POST',
headers: { Authorization: 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' },
body: JSON.stringify({ reference: 'ORD10023', network: 'MTN', phone: '08031234567', plan: 'MTN_SME_1GB_30DAYS' }),
});
const answer = await res.json();
import requests
answer = requests.post(
'https://uzobestgsm.com/api/v2/data/',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
json={'reference': 'ORD10023', 'network': 'MTN', 'phone': '08031234567', 'plan': 'MTN_SME_1GB_30DAYS'},
timeout=150,
).json()
3. Read the answer
Read data.status: successful, pending or failed (your wallet is refunded). Show message to your customer.
Answer
{
"status": true,
"message": "Dear Customer, You have successfully shared 1GB Data to 2348031234567.",
"data": {
"reference": "ORD10023",
"id": "Data8935fa7f7-2a0",
"service": "data",
"status": "successful",
"message": "Dear Customer, You have successfully shared 1GB Data to 2348031234567.",
"amount": "1000.00",
"balance_before": "5000.00",
"balance_after": "4000.00",
"phone": "08031234567",
"network": "MTN",
"plan": "MTN_SME_1GB_30DAYS",
"plan_name": "1GB",
"account": null,
"customer_name": null,
"token": null,
"units": null,
"pins": null,
"quantity": null,
"created_at": "2026-11-14T10:15:02+01:00",
"replayed": false
},
"request_id": "req_3f9a1c2b7d4e5f60"
}
4. Next
Check an orderPending, or no answer? Look it up.
WebhooksGet the final answer sent to you.
API referenceEvery product, field and answer.
Updated 2026-11-20. Questions? Contact support.

