Konfigurasi Akses
Semua perubahan disimpan ke file konfigurasi lokal.
API key aktif saat ini:
ilNU4O-Y...Ekc6Zg
PT SAHADA LAKU UTAMA
gamamilk@winninghouse.com
Module
Atur akses aman dari web eksternal ke Label Generator dan Resi Matcher.
Semua perubahan disimpan ke file konfigurasi lokal.
Gunakan header X-API-Key atau Authorization: Bearer ....
Health Check
GET http://toolff.ptslu.id/api/ping
Label Generator API
POST http://toolff.ptslu.id/api/label/generate
Resi Matcher API
POST http://toolff.ptslu.id/api/resi/process GET http://toolff.ptslu.id/api/resi/download/<job_id> GET http://toolff.ptslu.id/api/resi/report/<job_id>
Gunakan contoh ini untuk integrasi backend atau web service eksternal.
curl -X POST "http://toolff.ptslu.id/api/label/generate" \ -H "X-API-Key: ilNU4O-YD2GupQ0e3NDpVhNYJ7wRKkSGtIMtOEkc6Zg" \ -F "sheet_url=https://docs.google.com/spreadsheets/d/xxx/edit?gid=123" curl -X POST "http://toolff.ptslu.id/api/resi/process" \ -H "X-API-Key: ilNU4O-YD2GupQ0e3NDpVhNYJ7wRKkSGtIMtOEkc6Zg" \ -F "order_source=upload" \ -F "order_file=@order.xlsx" \ -F "col_resi=No Resi" \ -F "col_nama=Nama" \ -F "col_telp=Telepon" \ -F "match_mode=Auto (Resi -> Telp -> Nama)" \ -F "max_pages=200" \ -F "max_produk=6" \ -F "pdf_files=@resi1.pdf" \ -F "pdf_files=@resi2.pdf"