๐ Koneksi WhatsApp
Endpoint:
Contoh:
GET /connect/:idContoh:
https://fajarutarree.my.id/connect/1
๐ฌ Kirim Pesan
Endpoint:
Contoh:
GET /send?phone=number&text=message&id=client_idContoh:
https://fajarutarree.my.id/send?phone=6281234567890&text=Hello&id=1
๐ท Kirim Media
Endpoint:
Contoh:
GET /send-media?phone=number&mediaPath=path&caption=text&id=client_idContoh:
https://fajarutarree.my.id/send-media?phone=6281234567890&mediaPath=./image.jpg&caption=Test&id=1
โ๏ธ Manajemen Client
Endpoints:
GET /clients - List semua clientGET /status/:id - Status client tertentuGET /health - Health check server
๐งช Quick Test
Test cepat dengan endpoint yang sudah disiapkan:
1. Connect: /connect/1
2. Send Message: /send?phone=6282130697168&text=Hello&id=1
3. Check Status: /status/1
4. Get QR: /qr/1
2. Send Message: /send?phone=6282130697168&text=Hello&id=1
3. Check Status: /status/1
4. Get QR: /qr/1