Documentation Index
Fetch the complete documentation index at: https://docs.leuwongrr.online/llms.txt
Use this file to discover all available pages before exploring further.
Catatan Rate Limit
Gunakan API secara wajar. Untuk bot atau dashboard, hindari request terlalu cepat. Jika menerima status 429 Too Many Requests, tunggu sesuai nilai Retry-After sebelum mencoba lagi.
Baca detailnya di halaman Rate Limits.
title: Quickstart
description: Mulai memakai LeuwongRR REST API.
Quickstart
1. Cek API health
Endpoint health public dan tidak membutuhkan token.
curl https://leuwongrr.online/api/v1/health
2. Request dengan Bearer token
Gunakan header berikut untuk endpoint private.
Authorization: Bearer YOUR_API_TOKEN
Accept: application/json
Contoh cek invoice status:
curl -H "Authorization: Bearer YOUR_API_TOKEN" \
https://leuwongrr.online/api/v1/invoices/INV20260429113629619/status
3. User API Token
Member bisa membuat token dari halaman berikut:
https://leuwongrr.online/user/api-access
Token user hanya bisa membaca data miliknya sendiri.