Developers

API documentation

Connect your website, panel or program: read prices, place orders, follow results. Every customer can create a personal key.

How to connect (Panel API)

The standard way: reseller panels, unlock-site scripts and PHP API kits connect with three values.

API URLhttps://www.supportallgsm.comUsernameyour account usernameAPI Access KeyXXX-XXX-XXX-XXX-XXX-XXX-XXX-XXX
  1. Create your key on the API page of your account. It is shown only once.
  2. In your panel, add a new API supplier and choose the “Fusion” type.
  3. Paste the three values and synchronise the services.

IP address: the first address that connects is saved, and then only that address may use the key. If you change servers, press “Reset IP” on the API page.

Panels add /api/index.php to the address themselves; https://www.supportallgsm.com/api/v1 works too. The method is POST. Your e-mail can be used instead of the username. Status: 0 new, 1 in process, 3 rejected, 4 completed.

API actions

actionWhat it does
accountinfoYour balance (credit and creditraw) and e-mail
imeiservicelist / serverservicelistThe live price list for you
placeimeiorder / placeserverorderOne order: ID, IMEI or SN, QNT, optional CUSTOMFIELD
bulkimeiorderUp to 500 IMEI in one request (ID + IMEI list). One ordinary order per IMEI, one answer per IMEI
getimeiorder / getserverorderStatus and result of one order (ID)
bulkgetimeiorder (also getimeiorderbulk, getserverorderbulk)Status of up to 100 orders at once (ORDERS = ids separated by commas)

Parameters can be sent as XML, base64 XML, JSON or as a PHP array parameters[ID]. Please test with your own software (or a test key) before relying on it.

PHP example
<?php
$data = [
    'username'     => 'YOUR_USERNAME',
    'apiaccesskey' => 'YOUR_API_KEY',
    'action'       => 'placeimeiorder',
    'parameters[ID]'   => 101,
    'parameters[IMEI]' => '353456789012345',
];
$ch = curl_init('https://www.supportallgsm.com/api/index.php');
curl_setopt_array($ch, [CURLOPT_POST => true, CURLOPT_POSTFIELDS => http_build_query($data), CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 30]);
$r = json_decode(curl_exec($ch), true);
echo $r['SUCCESS'][0]['REFERENCEID'];

JSON API (for developers)

A second way to connect, for programs you write yourself. The same API key; send it in the Authorization: Bearer header.

MethodEndpointWhat it does
GET/api/v1/balanceYour balance
GET/api/v1/services?type=imei|serverServices: type, group, your price, ready-in time, min / max per order, required fields
GET/api/v1/prices?service=Your price for one service
POST/api/v1/ordersPlace an order (service + the service fields, optional idempotency_key)
GET/api/v1/ordersYour orders (status, limit, offset)
GET/api/v1/orders/{id}One order and its result

Examples

cURL
# place an order (safe to repeat: the same idempotency_key never creates a second order)
curl -X POST https://www.supportallgsm.com/api/v1/orders \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d "service=imei-check" -d "imei=356938035643809" -d "idempotency_key=my-order-2041"

# check it
curl -H "Authorization: Bearer YOUR_API_KEY" https://www.supportallgsm.com/api/v1/orders/123
PHP
<?php
$ch = curl_init('https://www.supportallgsm.com/api/v1/orders');
curl_setopt_array($ch, [
    CURLOPT_HTTPHEADER     => ['Authorization: Bearer YOUR_API_KEY'],
    CURLOPT_POSTFIELDS     => ['service' => 'imei-check', 'imei' => '356938035643809', 'idempotency_key' => 'my-order-2041'],
    CURLOPT_RETURNTRANSFER => true,
]);
$order = json_decode(curl_exec($ch), true);
print_r($order);
Python
import requests

r = requests.post("https://www.supportallgsm.com/api/v1/orders",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    data={"service": "imei-check", "imei": "356938035643809", "idempotency_key": "my-order-2041"})
print(r.status_code, r.json())

Good to know

  • All answers are JSON.
  • One key for both: the Panel API and the JSON API use the same API key.
  • Idempotency: send idempotency_key (8–64 letters/digits) with every order. If the request is repeated — timeout, retry, double click — you get the first order back ("duplicate": true) and are not charged twice.
  • Limits: 60 requests per minute per key (HTTP 429 when exceeded).
  • Errors: 401 key problem · 402 not enough balance · 404 not found · 409 identical order already open or out of stock · 422 invalid input · 429 too many requests.
  • Orders are paid from your balance. A rejected order is refunded automatically.