POST https://api.luaprotect.dev/v1/whitelist/:scriptId
Add a Roblox User ID or HWID to a script whitelist.
Query Parameters
:scriptId(string, required) — Script ID
Body Parameters
target(string, required) — User ID or HWID hash.type(string, required) — "userid" or "hwid".note(string, optional) — Label note.
Example Request
curl -X POST "https://api.luaprotect.dev/v1/whitelist/scr_88192a" \
-H "Authorization: Bearer LUAP-YOUR_API_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{"target": "184729104", "type": "userid", "note": "VIP Access"}'
Example Response
{
"success": true,
"entry": {
"id": "wl_99182",
"target": "184729104",
"type": "userid"
}
}