GET https://api.luaprotect.dev/v1/whitelist/:scriptId
Fetch whitelist rules for a specific script.
Query Parameters
:scriptId(string, required) — Script ID
Example Request
curl -X GET "https://api.luaprotect.dev/v1/whitelist/scr_88192a" \
-H "Authorization: Bearer LUAP-YOUR_API_KEY_HERE"
Example Response
{
"whitelist": [
{
"id": "wl_99182",
"target": "184729104",
"type": "userid",
"note": "Beta Tester"
}
]
}