GET /api/network.php
Look up the mobile network
Set SIMCLOUD_MSISDN to the South African number you want to check. The example uses URL encoding for international numbers. A successful response contains the normalised msisdn and network. HTTP 400 indicates invalid input. HTTP 404 means there was no network match. The lookup does not place a recharge.
GET /api/network.php
curl -4 -sS -i "${SIMCLOUD_API_BASE:-https://simcloud.co.za}/api/network.php" \
-H "Authorization: Bearer $SIMCLOUD_API_TOKEN" \
--get \
--data-urlencode "msisdn=$SIMCLOUD_MSISDN"
HTTP 200 response excerpt
{
"status": "success",
"network": "Vodacom"
}