POST https://api.luaprotect.dev/v1/whitelist/:scriptId

Add a Roblox User ID or HWID to a script whitelist.

Query Parameters

Body Parameters

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"
  }
}