🔥 SUPER DEAL WHI Group: Akses penuh 23 produk hanya Rp 2.500.000 (dari Rp 5jt) — terbatas! Klaim sekarang →

Dokumentasi REST API WHI

API terpadu untuk semua produk SaaS WHI Cloud. RESTful, JSON, OAuth2.

🔌
128
Endpoints
🌐
6
SDK Bahasa
⚡
42ms
Avg Latency
📊
99.99%
API Uptime

📦 SDK Resmi (6 Bahasa)

🟢
Node.js npm i @whi/sdk
🐘
PHP composer require whi/sdk
🐍
Python pip install whi-sdk
🐹
Go go get github.com/whi/sdk-go
💎
Ruby gem install whi
☕
Java maven: io.whi:sdk:1.0

🔄 Alur Request API

💻
Client Aplikasi Anda
→
🚪
API Gateway Auth + Rate-limit
→
⚙️
Microservice Logika bisnis
→
🗄️
Database PostgreSQL/Redis
→
📤
Response JSON + Webhook
API Reference

Endpoint Populer

METHODPATHDESKRIPSI
GET /v1/sites List semua website di akun
POST /v1/sites Buat site/domain baru
GET /v1/sites/{id} Detail site spesifik
POST /v1/wa/messages Kirim pesan WhatsApp
GET /v1/wa/templates List template terapprove
POST /v1/email/send Kirim email transaksional
GET /v1/seo/rank/{kw} Cek posisi keyword
DELETE /v1/sites/{id} Hapus site

💡 Contoh Request

curl -X POST https://api.whi.id/v1/wa/messages \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "62812345678",
    "template": "order_confirmation",
    "params": {"order_id": "INV-001"}
  }'