loading
Please wait...
API Kirim SMS
SMS Reguler
 https://reguler.medansms.co.id/sms_api.php?action=kirim_sms&email=#Email_Anda&passkey=#Passkey_Anda&no_tujuan=#NoHPTujuan&pesan=#IsiPesan
SMS Center
 https://center.medansms.co.id/sms_api.php?action=kirim_sms&email=#Email_Anda&passkey=#Passkey_Anda&no_tujuan=#NoHPTujuan&pesan=#IsiPesan
SMS Masking
 https://masking.medansms.co.id/sms_api.php?action=kirim_sms&email=#Email_Anda&passkey=#Passkey_Anda&no_tujuan=#NoHPTujuan&pesan=#IsiPesan
Contoh :
 https://reguler.medansms.co.id/sms_api.php?action=kirim_sms&email=bagas@yahoo.com&passkey=xxxxxx&no_tujuan=081234567890&pesan=MedanSMS
Contoh Script PHP :
$email_api = "bagas@yahoo.com";
$passkey_api = "xxxxxx";
$no_hp_tujuan = "081234567890";
$isi_pesan = "Coba kirim SMS";

$url = "https://reguler.medansms.co.id/sms_api.php?action=kirim_sms&email=".$email_api."&passkey=".$passkey_api."&no_tujuan=".$no_hp_tujuan."&pesan=".$isi_pesan;
$result = file_get_contents($url);
$data = explode("~~~", $result);
echo $data[0]; //1=SUKSES, selain itu GAGAL
echo $data[1]; //Panjang SMS
echo $data[2]; //Jumlah SMS yang dikirim
echo $data[3]; //Total Kredit yang digunakan
echo $data[4]; //Sisa Kredit
echo $data[5]; //Jenis Paket SMS (1=SMS Gratis, 0=SMS Reguler/SMS Center/SMS Masking
API Cek Sisa Kredit
SMS Reguler
 https://reguler.medansms.co.id/sms_api.php?action=kredit&email=#Email_Anda&passkey=#Passkey_Anda
SMS Center
 https://center.medansms.co.id/sms_api.php?action=kredit&email=#Email_Anda&passkey=#Passkey_Anda
SMS Masking
 https://masking.medansms.co.id/sms_api.php?action=kredit&email=#Email_Anda&passkey=#Passkey_Anda
Contoh :
 https://reguler.medansms.co.id/sms_api.php?action=kredit&email=bagas@yahoo.com&passkey=xxxxxx
Contoh Script PHP :
$email_api = "bagas@yahoo.com";
$passkey_api = "xxxxxx";
$url = "https://reguler.medansms.co.id/sms_api.php?action=kredit&email=".$email_api."&passkey=".$passkey_api;
$result = file_get_contents($url);
$data = explode("~~~", $result);
echo $data[0]; //1=SUKSES, selain itu GAGAL
echo $data[1]; //Sisa Kredit SMS