REST API v1 • Kompatibel Script Reseller & JSON

Reseller API & Manajemen API Key

Base URL: https://sakuotp.id/api/reseller/v1

Manajemen API Key Anda

Masuk ke akun SakuOTP Anda untuk membuat dan mengelola API Key Reseller.Masuk Sekarang

Tes Endpoint Live

Daftar Endpoint Standar Reseller API

GETgetBalance
action=getBalance

Cek saldo IDR tersedia & saldo tertahan (escrow). Tambahkan &format=text untuk respon ACCESS_BALANCE:<IDR>.

curl -s "https://sakuotp.id/api/reseller/v1?api_key=YOUR_KEY&action=getBalance"
GETgetEmailServices
action=getEmailServices

Daftar seluruh layanan email OTP & domain yang didukung beserta server tersedianya.

curl -s "https://sakuotp.id/api/reseller/v1?api_key=YOUR_KEY&action=getEmailServices"
GETgetEmailPrices
action=getEmailPrices[&service=google&domain=gmail.com]

Matriks harga dinamis IDR terbaru (mengikuti tarif live pasar realtime).

curl -s "https://sakuotp.id/api/reseller/v1?api_key=YOUR_KEY&action=getEmailPrices&service=google"
GET / POSTgetEmail
action=getEmail&service=google&domain=gmail.com[&server=AUTO|1|2|3]

Sewa email OTP baru. Otomatis mengunci saldo escrow & memakai Auto Best Route (S2 → S3 → S1).

curl -s "https://sakuotp.id/api/reseller/v1?api_key=YOUR_KEY&action=getEmail&service=google&domain=gmail.com&server=AUTO"
GETgetEmailStatus
action=getEmailStatus&id=<ORDER_ID>

Cek status inbox & ambil kode OTP. Saat OTP masuk, escrow otomatis dicapture.

curl -s "https://sakuotp.id/api/reseller/v1?api_key=YOUR_KEY&action=getEmailStatus&id=ORDER_ID"
GET / POSTsetEmailStatus
action=setEmailStatus&id=<ORDER_ID>&status=8|3

status=8 untuk Cancel & Refund (Anti Cancel-Sniping); status=3 untuk Reaktivasi Email.

curl -s "https://sakuotp.id/api/reseller/v1?api_key=YOUR_KEY&action=setEmailStatus&id=ORDER_ID&status=8"
GET / POSTgetNumber
action=getNumber&service=wa&country=6

Sewa nomor virtual SMS (country=6 Indonesia, 187 USA, 7 Malaysia, dst.).

curl -s "https://sakuotp.id/api/reseller/v1?api_key=YOUR_KEY&action=getNumber&service=wa&country=6"
GETgetStatus
action=getStatus&id=<ORDER_ID>

Cek status SMS masuk & ekstrak kode OTP.

curl -s "https://sakuotp.id/api/reseller/v1?api_key=YOUR_KEY&action=getStatus&id=ORDER_ID"
GET / POSTsetStatus
action=setStatus&id=<ORDER_ID>&status=8

status=8 untuk membatalkan nomor virtual sebelum SMS masuk & auto-refund saldo.

curl -s "https://sakuotp.id/api/reseller/v1?api_key=YOUR_KEY&action=setStatus&id=ORDER_ID&status=8"