logo

Dokumentasi API

https://kuysms.me/api/

Send SMS


token (char) //Please login to get it
id_user (int) //Please login to get it
menu (char) //SEND_SMS (Constant)
type (char) //OTP, REG, FREE, BULK
number (numeric) //International format, ex : 62857123456789
text (char) //Message
date_send (timestamp) //(Optional). Must timestamp format, ex : 1580982000

https://kuysms.me/api/?token=xxx&id_user=12345&menu=SEND_SMS&type=FREE&number=62857123456789&text=Just Testing

{"result":"1","data":{"id_sms":"123","number":"62857123456789","text":"Just Testing","type":"FREE","sms_count":"1","price":"0","cost":"0","balance_remaining":"22500"},"note":"SMS Sent"}
{"result":"0","data":"","note":"Token Invalid"}

result (int) //1 : Success, 0 : Failed

sms_count (int) //Count of SMS sent, 1 SMS : 160 character
price (float) //Price per SMS
cost (float) //sms_count * price

Check SMS Status


token (char) //Please login to get it
id_user (int) //Please login to get it
menu (char) //CHECK_SMS (Constant)
id_sms (int) //ID SMS

https://kuysms.me/api/?token=xxx&id_user=12345&menu=CHECK_SMS&id_sms=2

{"result":"1","data":{"number":"62857123456789","text":"Just Testing","sms_status":"1"},"note":"Delivered"}
{"result":"0","data":"","note":"SMS not found"}

result (int) //1 : Success, 0 : Failed

sms_status (int) //1 : Delivered, 0 : Sending

Get Inbox


token (char) //Please login to get it
id_user (int) //Please login to get it
menu (char) //GET_INBOX (Constant)
max_data (int) //(Optional). Maximum data you will fetch, ex : 10 or 50 or 100

https://kuysms.me/api/?token=xxx&id_user=12345&menu=GET_INBOX

{"result":"1","data":[{"date":"1581774965","id_sms":"125","number":"62857123456783","text":"Just Testing 1"},{"date":"1581773995","id_sms":"123","number":"62857123456784","text":"Just Testing 2"},{"date":"1581773965","id_sms":"123","number":"62857123456784","text":"Just Testing 3"}],"note":"Date in timestamp format, timezone GMT+7"}
{"result":"0","data":"","note":"Your inbox is empty"}

Check Balance


token (char) //Please login to get it
id_user (int) //Please login to get it
menu (char) //CHECK_BALANCE (Constant)

https://kuysms.me/api/?token=xxx&id_user=12345&menu=CHECK_BALANCE

{"result":"1","data":{"balance_remaining":"22500"},"note":""}

Get Price


token (char) //Please login to get it
id_user (int) //Please login to get it
menu (char) //GET_PRICE (Constant)
country_code (char) //Country code, ex : US or SG or ID

https://kuysms.me/api/?token=xxx&id_user=12345&menu=GET_PRICE&country_code=ID

{"result":"1","data":{"country_code":"ID","country":"Indonesia","price_otp":"69","price_reg":"69","price_bulk":"69"},"note":"All price in Indonesia Rupiah (Rp)"}
{"result":"0","data":"","note":"Country not found"}

Reference / Library



github.com/bitneptune/kuysms-api


github.com/bitneptune/sms-gratis


Copyright 2020 - KuySMS.me
Change Lang EN / ID

Payment Method : Cryptoccurrency, Paypal, Bank Transfer
Terms of Service / Privacy / Disclaimer / About / Contact